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

View file

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