Center-align profile status msg if only one line
This commit is contained in:
parent
159f4e3d15
commit
80bbee1434
|
@ -148,6 +148,7 @@ HListView {
|
||||||
wrapMode: HLabel.Wrap
|
wrapMode: HLabel.Wrap
|
||||||
text: member.status_msg.trim()
|
text: member.status_msg.trim()
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
|
horizontalAlignment: lineCount > 1 ? Qt.AlignLeft : Qt.AlignHCenter
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.bottomMargin: theme.spacing
|
Layout.bottomMargin: theme.spacing
|
||||||
|
|
Loading…
Reference in New Issue
Block a user