From fee2f5c70162cb752011f87aac577ad3fb622212 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Wed, 1 Dec 2021 00:33:22 +0100
Subject: [PATCH] Don't pad, just fill

---
 resources/qml/CommunitiesList.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/resources/qml/CommunitiesList.qml b/resources/qml/CommunitiesList.qml
index 8907a3609..68175cea6 100644
--- a/resources/qml/CommunitiesList.qml
+++ b/resources/qml/CommunitiesList.qml
@@ -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
                 }
-- 
GitLab