Stop panel growing above first tool button.

This commit is contained in:
Mark Burton 2020-06-04 11:29:23 +01:00
parent 700533b4aa
commit 74984ca12a

View file

@ -246,7 +246,7 @@ Item
}
PropertyChanges {
target: panelBorder
anchors.bottomMargin: -(base.activeY + UM.Theme.getSize("button").height)
anchors.bottomMargin: ((base.activeY + UM.Theme.getSize("button").height) > panelBorder.height) ? -(base.activeY + UM.Theme.getSize("button").height) : -panelBorder.height
}
}
]