diff --git a/src/qml/Base/HDrawer.qml b/src/qml/Base/HDrawer.qml index de4d0b3d..612b671a 100644 --- a/src/qml/Base/HDrawer.qml +++ b/src/qml/Base/HDrawer.qml @@ -4,8 +4,6 @@ import "../utils.js" as Utils Drawer { id: drawer - x: horizontal ? 0 : referenceSizeParent.width / 2 - width / 2 - y: vertical ? 0 : referenceSizeParent.height / 2 - height / 2 implicitWidth: horizontal ? calculatedSize : referenceSizeParent.width implicitHeight: vertical ? calculatedSize : referenceSizeParent.height diff --git a/src/qml/DebugConsole.qml b/src/qml/DebugConsole.qml index 70a07364..361b8f13 100644 --- a/src/qml/DebugConsole.qml +++ b/src/qml/DebugConsole.qml @@ -7,6 +7,8 @@ import "utils.js" as Utils HDrawer { id: debugConsole edge: Qt.BottomEdge + x: horizontal ? 0 : referenceSizeParent.width / 2 - width / 2 + y: vertical ? 0 : referenceSizeParent.height / 2 - height / 2 width: horizontal ? calculatedSize : Math.min(window.width, 720) height: vertical ? calculatedSize : Math.min(window.width, 480) normalSize: 360