From 703950273b4629dff42d39292c219e244e320eff Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 13 Dec 2020 16:05:48 +0100 Subject: [PATCH] Don't overflow room name --- resources/qml/TopBar.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml index 2015517c..941f269c 100644 --- a/resources/qml/TopBar.qml +++ b/resources/qml/TopBar.qml @@ -68,6 +68,8 @@ Rectangle { color: colors.text font.pointSize: fontMetrics.font.pointSize * 1.1 text: room ? room.roomName : qsTr("No room selected") + maximumLineCount: 1 + elide: Text.ElideRight MouseArea { anchors.fill: parent