Define dock height/width more transparently

This commit is contained in:
Sebastian Wolf 2021-02-16 18:51:50 +01:00
parent 532b35e9f3
commit 9688c09002
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -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