Set rendertype for units in SettingTextField

This commit is contained in:
fieldOfView 2018-02-15 11:38:51 +01:00 committed by Mark
parent 4a499ddfec
commit 0cf6e3a1cd

View file

@ -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")
} }