diff options
author | Caroline Chao <caroline.chao@digia.com> | 2014-06-18 09:00:43 +0200 |
---|---|---|
committer | Caroline Chao <caroline.chao@digia.com> | 2014-06-17 14:44:21 +0200 |
commit | 0195e6ede8fd3078f60a7dea96f0fa4ed4a46abc (patch) | |
tree | 47b3462b1f8b5084da1206833c738f889afb62fc | |
parent | 0048ad21af1c775801939da810ffbba19b80e2a2 (diff) |
Use renderType Text.QtRendering for text on mobile platforms
Change-Id: I8b2fec7ba5dddb1db0c844ec0904e520c75441c1
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
-rw-r--r-- | qml/touch/TouchLabel.qml | 1 | ||||
-rw-r--r-- | qml/touch/TouchTextField.qml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qml/touch/TouchLabel.qml b/qml/touch/TouchLabel.qml index 60626c4..17c8d9a 100644 --- a/qml/touch/TouchLabel.qml +++ b/qml/touch/TouchLabel.qml @@ -56,6 +56,7 @@ Label { horizontalAlignment: Text.AlignLeft elide: Text.ElideRight linkColor: ApplicationInfo.colors.blue + renderType: ApplicationInfo.isMobile ? Text.QtRendering : Text.NativeRendering function expectedTextWidth(value) { diff --git a/qml/touch/TouchTextField.qml b/qml/touch/TouchTextField.qml index 09113a7..04d116d 100644 --- a/qml/touch/TouchTextField.qml +++ b/qml/touch/TouchTextField.qml @@ -49,6 +49,7 @@ TextField { implicitWidth: parent.width property bool isEmpty: true style: TextFieldStyle { + renderType: ApplicationInfo.isMobile ? Text.QtRendering : Text.NativeRendering background : Rectangle { radius: 8 |