summary refs log tree commit diff
path: root/resources/qml/dialogs/ConfirmJoinRoomDialog.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-26 16:43:09 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-26 20:52:18 +0200
commit2b1c9af311749fe520edafaca8da8f603d6c10d2 (patch)
tree8003252cb2c52195ac89a36ad96dd8de47ac9c7d /resources/qml/dialogs/ConfirmJoinRoomDialog.qml
parentMerge pull request #1539 from Nheko-Reborn/issue1410 (diff)
downloadnheko-2b1c9af311749fe520edafaca8da8f603d6c10d2.tar.xz
More qml cleanups
Diffstat (limited to 'resources/qml/dialogs/ConfirmJoinRoomDialog.qml')
-rw-r--r--resources/qml/dialogs/ConfirmJoinRoomDialog.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/qml/dialogs/ConfirmJoinRoomDialog.qml b/resources/qml/dialogs/ConfirmJoinRoomDialog.qml
index a3fb9831..eb33cfc3 100644
--- a/resources/qml/dialogs/ConfirmJoinRoomDialog.qml
+++ b/resources/qml/dialogs/ConfirmJoinRoomDialog.qml
@@ -4,7 +4,6 @@
 
 import ".."
 import "../ui"
-import Qt.labs.platform 1.1 as Platform
 import QtQuick 2.15
 import QtQuick.Controls 2.3
 import QtQuick.Layouts 1.2
@@ -39,8 +38,8 @@ ApplicationWindow {
             url: summary.roomAvatarUrl.replace("mxc://", "image://MxcImage/")
             roomid: summary.roomid
             displayName: summary.roomName
-            height: 130
-            width: 130
+            Layout.preferredHeight: 130
+            Layout.preferredWidth: 130
             Layout.alignment: Qt.AlignHCenter
         }