Set renderType to Text.NativeRendering for qtquick controls 2 Labels

Apparently, the qtquickcontrols 2 Label no longer defaults to using renderType: Text.NativeRendering
This causes text to render with QtRendering which looks subtly different on Windows and succinctly broken on some OSX installations.
This commit is contained in:
fieldOfView 2018-02-15 11:12:19 +01:00
parent 44bf6579fd
commit ec1cf4065e
5 changed files with 11 additions and 4 deletions

View file

@ -112,11 +112,9 @@ Item {
anchors.right: settingControls.left;
anchors.verticalCenter: parent.verticalCenter
height: UM.Theme.getSize("section").height;
verticalAlignment: Text.AlignVCenter;
text: definition.label
elide: Text.ElideMiddle;
renderType: Text.NativeRendering
color: UM.Theme.getColor("setting_control_text");
opacity: (definition.visible) ? 1 : 0.5