From d8682003faaa853c7a4918f947d903227df9f3ae Mon Sep 17 00:00:00 2001 From: "vladimir.kuznetsov" Date: Tue, 16 Apr 2024 16:01:45 +0500 Subject: [PATCH] fixed page home height for linux --- client/ui/qml/Pages2/PageHome.qml | 2 +- client/ui/qml/main2.qml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/ui/qml/Pages2/PageHome.qml b/client/ui/qml/Pages2/PageHome.qml index c8d0d0a6..e4aebc6e 100644 --- a/client/ui/qml/Pages2/PageHome.qml +++ b/client/ui/qml/Pages2/PageHome.qml @@ -107,7 +107,7 @@ PageType { id: drawer anchors.fill: parent - collapsedContent: Item { + collapsedContent: Item { implicitHeight: Qt.platform.os !== "ios" ? root.height * 0.9 : screen.height * 0.77 Component.onCompleted: { drawer.expandedHeight = implicitHeight diff --git a/client/ui/qml/main2.qml b/client/ui/qml/main2.qml index 3af996df..7e31bb09 100644 --- a/client/ui/qml/main2.qml +++ b/client/ui/qml/main2.qml @@ -33,7 +33,8 @@ Window { StackViewType { id: rootStackView - anchors.fill: parent + width: root.width + height: root.height focus: true Component.onCompleted: {