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
|
||||
text: member.status_msg.trim()
|
||||
visible: text !== ""
|
||||
horizontalAlignment: lineCount > 1 ? Qt.AlignLeft : Qt.AlignHCenter
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: theme.spacing
|
||||
|
|
Loading…
Reference in New Issue
Block a user