fix(StatusListItem): ensure title is elided

This commit is contained in:
Pascal Precht 2021-11-30 13:59:10 +01:00 committed by r4bbit.eth
parent 8d2121ade6
commit b7883e8298
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