diff --git a/resources/qml/Menus/ContextMenu.qml b/resources/qml/Menus/ContextMenu.qml index aeb6eb47f9..16ce00fa05 100644 --- a/resources/qml/Menus/ContextMenu.qml +++ b/resources/qml/Menus/ContextMenu.qml @@ -114,10 +114,12 @@ Menu { spacing: UM.Theme.getSize("default_margin").width - Label + UM.Label { text: catalog.i18nc("@label", "Number of Copies") anchors.verticalCenter: copiesField.verticalCenter + width: contentWidth + wrapMode: Text.NoWrap } Cura.SpinBox diff --git a/resources/qml/SpinBox.qml b/resources/qml/SpinBox.qml index 7f30109380..d064da4f18 100644 --- a/resources/qml/SpinBox.qml +++ b/resources/qml/SpinBox.qml @@ -13,8 +13,6 @@ Item { id: base - height: spinBox.height - property string prefix: "" property string suffix: "" property int decimals: 0 @@ -33,7 +31,8 @@ Item } signal editingFinished() - + implicitWidth: spinBox.implicitWidth + implicitHeight: spinBox.implicitHeight SpinBox { id: spinBox