mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 10:05:54 +08:00
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:
parent
e990e970be
commit
9b05dbdb85
@ -12,8 +12,6 @@ import UM 1.5 as UM
|
|||||||
UM.MenuItem
|
UM.MenuItem
|
||||||
{
|
{
|
||||||
id: menuItem
|
id: menuItem
|
||||||
|
|
||||||
height: UM.Theme.getSize("context_menu").height
|
|
||||||
opacity: enabled ? 1.0 : 0.5
|
opacity: enabled ? 1.0 : 0.5
|
||||||
|
|
||||||
arrow: UM.RecolorImage
|
arrow: UM.RecolorImage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user