mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:25:56 +08:00
Disable wordwrap in combobox
CURA-8949
This commit is contained in:
parent
3e5a51503e
commit
2b220c627f
@ -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…
x
Reference in New Issue
Block a user