From 5a7ae3563e5946edf2ec949ac8dae47c9a063bcc Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 9 Nov 2025 09:42:23 -0500 Subject: [PATCH] Fix alignment on the room invitation page I forgot to horizontally center the room alias label, so it was usually stuck to the left-side. I also don't know why I put the room alias on top and the room name on the bottom, so those are swapped now too. --- src/app/qml/InvitationView.qml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/app/qml/InvitationView.qml b/src/app/qml/InvitationView.qml index b9b00b936..67cd26e20 100644 --- a/src/app/qml/InvitationView.qml +++ b/src/app/qml/InvitationView.qml @@ -54,6 +54,12 @@ ColumnLayout { Layout.alignment: Qt.AlignHCenter } + Kirigami.Heading { + text: root.currentRoom.displayName + + Layout.alignment: Qt.AlignHCenter + } + Kirigami.SelectableLabel { Layout.fillWidth: true font: Kirigami.Theme.smallFont @@ -61,12 +67,7 @@ ColumnLayout { visible: root.currentRoom && root.currentRoom.canonicalAlias text: root.currentRoom && root.currentRoom.canonicalAlias ? root.currentRoom.canonicalAlias : "" color: Kirigami.Theme.disabledTextColor - } - - Kirigami.Heading { - text: root.currentRoom.displayName - - Layout.alignment: Qt.AlignHCenter + horizontalAlignment: Text.AlignHCenter } } }