mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 22:25:53 +08:00
Fix toolbar positioning when the toolbar is taller than its parent
Fixes #11990
This commit is contained in:
parent
81a170fb7b
commit
d1e52e5b76
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user