Center-align profile status msg if only one line

This commit is contained in:
miruka 2020-07-10 16:48:29 -04:00
parent 159f4e3d15
commit 80bbee1434

View File

@ -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