[app] Fade truncated title
This commit is contained in:
parent
63c2ea50a3
commit
9f7c751e8d
1 changed files with 3 additions and 2 deletions
|
@ -73,8 +73,9 @@ Item {
|
||||||
smooth: true
|
smooth: true
|
||||||
height: Theme.itemSizeExtraSmall
|
height: Theme.itemSizeExtraSmall
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: contentWidth > Math.ceil(width) ? Text.AlignLeft : Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
elide: Text.ElideRight
|
truncationMode: TruncationMode.Fade
|
||||||
|
maximumLineCount: 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue