diff --git a/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml b/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml index 43ccde461e..a939eb2cf7 100644 --- a/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml +++ b/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml @@ -48,6 +48,7 @@ Cura.ExpandablePopup delegate: Item { Layout.preferredWidth: Math.round(parent.width / extrudersModel.count) + Layout.maximumWidth: Math.round(parent.width / extrudersModel.count) Layout.fillHeight: true // Extruder icon. Shows extruder index and has the same color as the active material. @@ -63,6 +64,7 @@ Cura.ExpandablePopup { opacity: model.enabled ? 1 : UM.Theme.getColor("extruder_disabled").a spacing: 0 + visible: width > 0 anchors { left: extruderIcon.right @@ -81,6 +83,7 @@ Cura.ExpandablePopup font: UM.Theme.getFont("default") color: UM.Theme.getColor("text") renderType: Text.NativeRendering + Layout.preferredWidth: parent.width width: parent.width visible: !truncated @@ -95,6 +98,7 @@ Cura.ExpandablePopup font: UM.Theme.getFont("default") color: UM.Theme.getColor("text") renderType: Text.NativeRendering + Layout.preferredWidth: parent.width width: parent.width visible: !materialBrandColorTypeLabel.visible && !truncated @@ -109,6 +113,7 @@ Cura.ExpandablePopup font: UM.Theme.getFont("default") color: UM.Theme.getColor("text") renderType: Text.NativeRendering + Layout.preferredWidth: parent.width width: parent.width visible: !materialBrandColorTypeLabel.visible && !materialColorTypeLabel.visible } @@ -124,6 +129,7 @@ Cura.ExpandablePopup font: UM.Theme.getFont("default_bold") color: UM.Theme.getColor("text") renderType: Text.NativeRendering + Layout.preferredWidth: parent.width width: parent.width } }