From 9b05dbdb8523ba7804937033af133714df6ab535 Mon Sep 17 00:00:00 2001 From: "j.delarago" Date: Fri, 18 Feb 2022 10:29:55 +0100 Subject: [PATCH] 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 --- resources/qml/Widgets/MenuItem.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/qml/Widgets/MenuItem.qml b/resources/qml/Widgets/MenuItem.qml index 294aa8e288..059a30e79c 100644 --- a/resources/qml/Widgets/MenuItem.qml +++ b/resources/qml/Widgets/MenuItem.qml @@ -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