fix(StatusListItem): ensure title is elided
This commit is contained in:
parent
e83ad058c8
commit
b2da194809
|
@ -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