mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +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)
|
||||
}
|
||||
|
||||
Label {
|
||||
ElidedLabel {
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue