Fix elided width

This commit is contained in:
Loren Burkholder 2021-07-20 19:45:28 -04:00
parent 6458614ea1
commit 38c6aa65fa

View file

@ -48,6 +48,7 @@ ApplicationWindow {
font.pixelSize: fontMetrics.font.pixelSize * 2 font.pixelSize: fontMetrics.font.pixelSize * 2
fullText: members.memberCount + (members.memberCount === 1 ? qsTr(" person in ") : qsTr(" people in ")) + members.roomName fullText: members.memberCount + (members.memberCount === 1 ? qsTr(" person in ") : qsTr(" people in ")) + members.roomName
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
elideWidth: parent.width - Nheko.paddingMedium
} }
ImageButton { ImageButton {