diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-05-18 14:29:42 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2022-05-18 14:29:42 +0300 |
commit | 8b02b4161b92e37e12cc27cdcfde20a3dc2ef85f (patch) | |
tree | ec8ea0ec5e1f9f9e71c76bdaea160c60f1f52a73 | |
parent | 21fdaa70dda9688926ec39c66e2a6961efe8f67e (diff) | |
parent | d1e52e5b7680e39cb505f49d239c1bc3a42a84bd (diff) |
Merge branch 'fix_tall_toolbar' of https://github.com/fieldOfView/Cura
-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 |