fix(StatusListItem): ensure title is elided
This commit is contained in:
parent
8d2121ade6
commit
b7883e8298
|
@ -143,6 +143,8 @@ Rectangle {
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
height: visible ? contentHeight : 0
|
height: visible ? contentHeight : 0
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: !statusListItem.titleAsideText ? parent.right : undefined
|
||||||
color: {
|
color: {
|
||||||
if (!statusListItem.enabled) {
|
if (!statusListItem.enabled) {
|
||||||
return Theme.palette.baseColor1
|
return Theme.palette.baseColor1
|
||||||
|
|
Loading…
Reference in New Issue