summary refs log tree commit diff
path: root/resources/qml/components
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-03 23:01:36 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-03 23:01:36 +0100
commit1e22274d8cb4da5f4f02dfa3002b9ac2838f455c (patch)
treeaf88a2e61989c180380a0ff555b0a7ec1468610c /resources/qml/components
parentFix unjoinable invites on mobile as well as unclickable previews (diff)
downloadnheko-1e22274d8cb4da5f4f02dfa3002b9ac2838f455c.tar.xz
Use ItemDelegate in RoomList instead of a Rectangle with handlers
fixes #683
relates to #571
Diffstat (limited to 'resources/qml/components')
-rw-r--r--resources/qml/components/MainWindowDialog.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/resources/qml/components/MainWindowDialog.qml b/resources/qml/components/MainWindowDialog.qml

index 19233384..901260b5 100644 --- a/resources/qml/components/MainWindowDialog.qml +++ b/resources/qml/components/MainWindowDialog.qml
@@ -9,6 +9,9 @@ import QtQuick.Layouts 1.3 import im.nheko 1.0 Dialog { + default property alias inner: scroll.data + property int useableWidth: scroll.width - scroll.ScrollBar.vertical.width + parent: Overlay.overlay anchors.centerIn: parent height: (Math.floor(parent.height / 2) - Nheko.paddingLarge) * 2 @@ -17,10 +20,6 @@ Dialog { modal: true standardButtons: Dialog.Ok | Dialog.Cancel closePolicy: Popup.NoAutoClose - - default property alias inner: scroll.data - property int useableWidth: scroll.width - scroll.ScrollBar.vertical.width - contentChildren: [ ScrollView { id: scroll