From e7abcced5f311a554d9702bd847d43b61aa3897d Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 9 Dec 2019 12:16:23 -0400 Subject: [PATCH] Fix a HDrawer weird size issue --- src/qml/Base/HDrawer.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/Base/HDrawer.qml b/src/qml/Base/HDrawer.qml index 771302ff..f10ba8a4 100644 --- a/src/qml/Base/HDrawer.qml +++ b/src/qml/Base/HDrawer.qml @@ -4,8 +4,8 @@ import "../utils.js" as Utils Drawer { id: drawer - implicitWidth: horizontal ? calculatedSize : referenceSizeParent.width - implicitHeight: vertical ? calculatedSize : referenceSizeParent.height + implicitWidth: horizontal ? calculatedSize : parent.width + implicitHeight: vertical ? calculatedSize : parent.height topPadding: 0 bottomPadding: 0