From 2b220c627f5c8b017d2191de5fa2c848016459fd Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 18 Feb 2022 11:06:33 +0100 Subject: [PATCH] Disable wordwrap in combobox CURA-8949 --- resources/qml/Widgets/ComboBox.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/qml/Widgets/ComboBox.qml b/resources/qml/Widgets/ComboBox.qml index b92daad9c4..6420f41823 100644 --- a/resources/qml/Widgets/ComboBox.qml +++ b/resources/qml/Widgets/ComboBox.qml @@ -72,7 +72,7 @@ ComboBox anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width anchors.verticalCenter: parent.verticalCenter anchors.right: downArrow.left - + wrapMode: Text.NoWrap text: { if (control.delegateModel.count == 0) @@ -149,6 +149,7 @@ ComboBox textFormat: Text.PlainText color: UM.Theme.getColor("setting_control_text") elide: Text.ElideRight + wrapMode: Text.NoWrap } background: UM.TooltipArea