From 9688c09002be685eb2a127acf6975a2d9ddda05c Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Tue, 16 Feb 2021 18:51:50 +0100 Subject: [PATCH] Define dock height/width more transparently --- qml/pages/ChatPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/pages/ChatPage.qml b/qml/pages/ChatPage.qml index a91f5dd..e73effc 100644 --- a/qml/pages/ChatPage.qml +++ b/qml/pages/ChatPage.qml @@ -698,7 +698,7 @@ Page { anchors.fill: parent dock: chatPage.isPortrait ? Dock.Bottom : Dock.Right - backgroundSize: dock == Dock.Left || dock == Dock.Right ? width / 2 : height / 3 + backgroundSize: chatPage.isPortrait ? height / 3 : width / 2 background: Column { anchors.fill: parent