Don't pad, just fill

This commit is contained in:
Nicolas Werner 2021-12-01 00:33:22 +01:00
parent 65152252a4
commit fee2f5c701
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,8 @@ Page {
visible: !communitySidebar.collapsed
Layout.alignment: Qt.AlignVCenter
color: communityItem.importantText
elideWidth: parent.width - avatar.width - r.anchors.leftMargin/2 - Nheko.paddingMedium - fontMetrics.lineSpacing
Layout.fillWidth: true
elideWidth: width
fullText: model.displayName
textFormat: Text.PlainText
}