diff options
author | fieldOfView <aldo@fieldofview.com> | 2022-05-02 12:05:56 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2022-05-02 12:05:56 +0300 |
commit | d1e52e5b7680e39cb505f49d239c1bc3a42a84bd (patch) | |
tree | a117b32b328e838bc8242c4d1dc7bdb8367ebfef /resources/qml/Cura.qml | |
parent | 81a170fb7bd62dcc4ec89e5575f2e785a6936a75 (diff) |
Fix toolbar positioning when the toolbar is taller than its parent
Fixes #11990
Diffstat (limited to 'resources/qml/Cura.qml')
-rw-r--r-- | resources/qml/Cura.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index 3b06af677d..d22e5a1526 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -309,10 +309,13 @@ UM.MainWindow property int mouseX: base.mouseX property int mouseY: base.mouseY + property bool tallerThanParent: height > parent.height + + z: 1 // Ensure toolbar and toolpanels are drawn on top anchors { - verticalCenter: parent.verticalCenter + verticalCenter: tallerThanParent ? undefined : parent.verticalCenter left: parent.left } visible: CuraApplication.platformActivity && !PrintInformation.preSliced |