mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Use elided label
This commit is contained in:
parent
75920925dc
commit
92fdda8423
1 changed files with 2 additions and 2 deletions
|
@ -44,9 +44,9 @@ ApplicationWindow {
|
||||||
onClicked: Rooms.currentRoom.openRoomSettings(members.roomId)
|
onClicked: Rooms.currentRoom.openRoomSettings(members.roomId)
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
ElidedLabel {
|
||||||
font.pixelSize: fontMetrics.font.pixelSize * 2
|
font.pixelSize: fontMetrics.font.pixelSize * 2
|
||||||
text: 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue