summary refs log tree commit diff
path: root/resources/qml/dialogs
diff options
context:
space:
mode:
authortastytea <tastytea@tastytea.de>2022-02-04 20:51:30 +0100
committertastytea <tastytea@tastytea.de>2022-02-04 23:40:40 +0100
commit2815ad040801cd4a0a0d31a72299b699fb924737 (patch)
treec38c3053d6c741e14ccf0912dd6e077e57952fda /resources/qml/dialogs
parentShow widgets as links (diff)
downloadnheko-2815ad040801cd4a0a0d31a72299b699fb924737.tar.xz
Fix width of room name to dialog width
Diffstat (limited to 'resources/qml/dialogs')
-rw-r--r--resources/qml/dialogs/RoomSettings.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/qml/dialogs/RoomSettings.qml b/resources/qml/dialogs/RoomSettings.qml
index 48d2e2b7..fad7b4c7 100644
--- a/resources/qml/dialogs/RoomSettings.qml
+++ b/resources/qml/dialogs/RoomSettings.qml
@@ -100,7 +100,8 @@ ApplicationWindow {
             MatrixText {
                 text: roomSettings.roomName
                 font.pixelSize: fontMetrics.font.pixelSize * 2
-                Layout.alignment: Qt.AlignHCenter
+                Layout.fillWidth: true
+                horizontalAlignment: TextEdit.AlignHCenter
             }
 
             MatrixText {