mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:15:54 +08:00
Fix PrintSetupHeaderButton displaying text twice
CURA-8684
This commit is contained in:
parent
b3a6d8a1fc
commit
a66275ce73
@ -85,16 +85,17 @@ ToolButton
|
|||||||
color: base.enabled ? UM.Theme.getColor("setting_control_button") : UM.Theme.getColor("setting_category_disabled_text")
|
color: base.enabled ? UM.Theme.getColor("setting_control_button") : UM.Theme.getColor("setting_category_disabled_text")
|
||||||
source: UM.Theme.getIcon("ChevronSingleDown")
|
source: UM.Theme.getIcon("ChevronSingleDown")
|
||||||
}
|
}
|
||||||
UM.Label
|
}
|
||||||
{
|
|
||||||
id: printSetupComboBoxLabel
|
contentItem: UM.Label
|
||||||
text: base.text
|
{
|
||||||
elide: Text.ElideRight;
|
id: printSetupComboBoxLabel
|
||||||
anchors.left: parent.left;
|
text: base.text
|
||||||
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
elide: Text.ElideRight;
|
||||||
anchors.right: downArrow.lef
|
anchors.left: parent.left;
|
||||||
anchors.rightMargin: base.rightMargin
|
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.right: downArrow.lef
|
||||||
}
|
anchors.rightMargin: base.rightMargin
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user