fix(StatusListItem): ensure title is elided

This commit is contained in:
Pascal Precht 2021-11-30 13:59:10 +01:00 committed by Michał Cieślak
parent e83ad058c8
commit b2da194809
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,8 @@ Rectangle {
font.pixelSize: 15
height: visible ? contentHeight : 0
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
anchors.left: parent.left
anchors.right: !statusListItem.titleAsideText ? parent.right : undefined
color: {
if (!statusListItem.enabled) {
return Theme.palette.baseColor1