summaryrefslogtreecommitdiff
path: root/components/TextField.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/TextField.qml')
-rw-r--r--components/TextField.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/TextField.qml b/components/TextField.qml
index c0d7bf8f..0d2d123a 100644
--- a/components/TextField.qml
+++ b/components/TextField.qml
@@ -168,6 +168,7 @@ FocusScope {
selectByMouse:true
selectionColor: syspal.highlight
selectedTextColor: syspal.highlightedText
+ renderType: Desktop.nativeTextRendering ? Text.NativeRendering : Text.QtRendering
// Todo move these margins to StyleItem
anchors.leftMargin: 4
@@ -194,5 +195,6 @@ FocusScope {
clip: true
elide: Text.ElideRight
Behavior on opacity { NumberAnimation { duration: 90 } }
+ renderType: Desktop.nativeTextRendering ? Text.NativeRendering : Text.QtRendering
}
}