summary refs log tree commit diff
path: root/resources/qml/RoomMembers.qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 19:45:28 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 21:48:10 -0400
commit38c6aa65fa3e4230a4e1de9cc8e7e2204d3896ed (patch)
treee94d2377bfd10b8fd2c85c3ccdf5325c129d6e78 /resources/qml/RoomMembers.qml
parentmake lint (diff)
downloadnheko-38c6aa65fa3e4230a4e1de9cc8e7e2204d3896ed.tar.xz
Fix elided width
Diffstat (limited to '')
-rw-r--r--resources/qml/RoomMembers.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/RoomMembers.qml b/resources/qml/RoomMembers.qml
index 8431dc99..6f847ccc 100644
--- a/resources/qml/RoomMembers.qml
+++ b/resources/qml/RoomMembers.qml
@@ -48,6 +48,7 @@ ApplicationWindow {
             font.pixelSize: fontMetrics.font.pixelSize * 2
             fullText: members.memberCount + (members.memberCount === 1 ? qsTr(" person in ") : qsTr(" people in ")) + members.roomName
             Layout.alignment: Qt.AlignHCenter
+            elideWidth: parent.width - Nheko.paddingMedium
         }
 
         ImageButton {