From cb57a1ec0635060b6c75f9dc484f0bcb4b922295 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Fri, 8 Jan 2021 14:09:04 -0700 Subject: [PATCH] Fix case of anchors being set on an item in a Layout --- imports/NeoChat/Page/RoomPage.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index b440127ae..4df6a177a 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -303,7 +303,8 @@ Kirigami.ScrollablePage { innerObject: [ MouseArea { acceptedButtons: (Kirigami.Settings.isMobile ? Qt.LeftButton : 0) | Qt.RightButton - anchors.fill: parent + Layout.fillWidth: true + Layout.fillHeight: true onClicked: { if (mouse.button == Qt.RightButton) { openMessageContext(author, display, eventId, toolTip);