Don't overflow room name

This commit is contained in:
Nicolas Werner 2020-12-13 16:05:48 +01:00
parent 65a4c85ed4
commit 703950273b

View file

@ -68,6 +68,8 @@ Rectangle {
color: colors.text color: colors.text
font.pointSize: fontMetrics.font.pointSize * 1.1 font.pointSize: fontMetrics.font.pointSize * 1.1
text: room ? room.roomName : qsTr("No room selected") text: room ? room.roomName : qsTr("No room selected")
maximumLineCount: 1
elide: Text.ElideRight
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent