MenuItem height has to be set to 0 when visible: false otherwise there is white space in place of the MenuItem.

This functionality is included in UM and was being overwritten in Cura.MenuItem.

CURA-8688
This commit is contained in:
j.delarago 2022-02-18 10:29:55 +01:00
parent e990e970be
commit 9b05dbdb85

View file

@ -12,8 +12,6 @@ import UM 1.5 as UM
UM.MenuItem
{
id: menuItem
height: UM.Theme.getSize("context_menu").height
opacity: enabled ? 1.0 : 0.5
arrow: UM.RecolorImage