aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/universal/TextArea.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-26 12:16:32 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-26 11:51:34 +0000
commit3f5a66eb891e292281656fb43181ceb9d774e7aa (patch)
treea4ff44fe6be8674ffaa9b91526e03c9612d8e157 /src/imports/controls/universal/TextArea.qml
parentdb5780507733ef803e963dcef0b5260c4b94acfa (diff)
Universal: switch to distance field text rendering
Native text rendering is typically better on low density displays on Windows, but everywhere else, the distance field rendering gives better results. Our main target is not the classic GDI-based Windows desktop, but modern mobile typically with high density displays. Change-Id: Ibdaea09815a3915a720a04b2345e0c10c9753d2d Task-number: QTBUG-41432 Task-number: QTBUG-50971 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/universal/TextArea.qml')
-rw-r--r--src/imports/controls/universal/TextArea.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/imports/controls/universal/TextArea.qml b/src/imports/controls/universal/TextArea.qml
index 72b69cb9..255f5774 100644
--- a/src/imports/controls/universal/TextArea.qml
+++ b/src/imports/controls/universal/TextArea.qml
@@ -60,7 +60,6 @@ T.TextArea {
activeFocus ? Universal.chromeBlackHighColor : Universal.baseHighColor
selectionColor: Universal.accent
selectedTextColor: Universal.chromeWhiteColor
- renderType: Text.NativeRendering
Text {
id: placeholder
@@ -76,7 +75,6 @@ T.TextArea {
visible: !control.length && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter)
horizontalAlignment: control.horizontalAlignment
verticalAlignment: control.verticalAlignment
- renderType: Text.NativeRendering
elide: Text.ElideRight
}