diff options
-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 |