mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:35:54 +08:00
Use UM.Label
in print setup header button
CURA-8684
This commit is contained in:
parent
a74c7aa4f3
commit
b3a6d8a1fc
@ -85,18 +85,16 @@ 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")
|
||||||
}
|
}
|
||||||
Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: printSetupComboBoxLabel
|
id: printSetupComboBoxLabel
|
||||||
color: base.enabled ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
|
text: base.text
|
||||||
text: base.text;
|
|
||||||
elide: Text.ElideRight;
|
elide: Text.ElideRight;
|
||||||
anchors.left: parent.left;
|
anchors.left: parent.left;
|
||||||
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
||||||
anchors.right: downArrow.left;
|
anchors.right: downArrow.lef
|
||||||
anchors.rightMargin: base.rightMargin;
|
anchors.rightMargin: base.rightMargin
|
||||||
anchors.verticalCenter: parent.verticalCenter;
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
font: UM.Theme.getFont("default")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user