mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Disable wordwrap in combobox
CURA-8949
This commit is contained in:
parent
3e5a51503e
commit
2b220c627f
1 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ ComboBox
|
||||||
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.right: downArrow.left
|
anchors.right: downArrow.left
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
text:
|
text:
|
||||||
{
|
{
|
||||||
if (control.delegateModel.count == 0)
|
if (control.delegateModel.count == 0)
|
||||||
|
|
@ -149,6 +149,7 @@ ComboBox
|
||||||
textFormat: Text.PlainText
|
textFormat: Text.PlainText
|
||||||
color: UM.Theme.getColor("setting_control_text")
|
color: UM.Theme.getColor("setting_control_text")
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
}
|
}
|
||||||
|
|
||||||
background: UM.TooltipArea
|
background: UM.TooltipArea
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue