mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:19:03 +08:00
Set rendertype for units in SettingTextField
This commit is contained in:
parent
593dad7cca
commit
32d677295f
@ -83,11 +83,12 @@ SettingItem
|
|||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
anchors.right: parent.right;
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: Math.round(UM.Theme.getSize("setting_unit_margin").width)
|
anchors.rightMargin: Math.round(UM.Theme.getSize("setting_unit_margin").width)
|
||||||
anchors.verticalCenter: parent.verticalCenter;
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
text: definition.unit;
|
text: definition.unit
|
||||||
|
renderType: Text.NativeRendering
|
||||||
color: UM.Theme.getColor("setting_unit")
|
color: UM.Theme.getColor("setting_unit")
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user