Avoid strange layout if user name is veeeeeeeery long
This commit is contained in:
parent
ba41125422
commit
b26c6e81c2
1 changed files with 2 additions and 0 deletions
|
@ -101,6 +101,8 @@ ListItem {
|
||||||
Text {
|
Text {
|
||||||
id: prologSecondaryText
|
id: prologSecondaryText
|
||||||
font.pixelSize: Theme.fontSizeExtraSmall
|
font.pixelSize: Theme.fontSizeExtraSmall
|
||||||
|
width: Math.min(implicitWidth, parent.width)
|
||||||
|
elide: Text.ElideRight
|
||||||
color: Theme.highlightColor
|
color: Theme.highlightColor
|
||||||
textFormat: Text.StyledText
|
textFormat: Text.StyledText
|
||||||
onTruncatedChanged: {
|
onTruncatedChanged: {
|
||||||
|
|
Loading…
Reference in a new issue