Set rendertype for units in SettingTextField

This commit is contained in:
fieldOfView 2018-02-15 11:38:51 +01:00
parent 593dad7cca
commit 32d677295f

View file

@ -83,11 +83,12 @@ SettingItem
Label
{
anchors.right: parent.right;
anchors.right: parent.right
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")
font: UM.Theme.getFont("default")
}