diff --git a/resources/qml/Menus/MaterialBrandMenu.qml b/resources/qml/Menus/MaterialBrandMenu.qml index 4d200e9594..5a5838f4ca 100644 --- a/resources/qml/Menus/MaterialBrandMenu.qml +++ b/resources/qml/Menus/MaterialBrandMenu.qml @@ -94,8 +94,6 @@ Cura.MenuItem // We have to keep a count of itemHovered (instead of just a bool) property int itemHovered: 0 - implicitX: parent.width - UM.Theme.getSize("default_lining").width - MouseArea { id: submenuArea @@ -217,6 +215,8 @@ Cura.MenuItem MaterialBrandSubMenu { id: colorPopup + implicitX: parent.width + property int itemHovered: 0 Column diff --git a/resources/qml/Menus/MaterialBrandSubMenu.qml b/resources/qml/Menus/MaterialBrandSubMenu.qml index 9c237d12fe..bc02e79cdb 100644 --- a/resources/qml/Menus/MaterialBrandSubMenu.qml +++ b/resources/qml/Menus/MaterialBrandSubMenu.qml @@ -19,7 +19,7 @@ Popup implicitHeight: scrollViewContent.height + bottomPadding + topPadding // offset position relative to the parent - property int implicitX: parent.width + property int implicitX: parent.width - UM.Theme.getSize("default_lining").width property int implicitY: -UM.Theme.getSize("thin_margin").height default property alias contents: scrollViewContent.children