summaryrefslogtreecommitdiff
path: root/src/controls/TextField.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TextField.qml')
-rw-r--r--src/controls/TextField.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml
index d8829403..8ac2e273 100644
--- a/src/controls/TextField.qml
+++ b/src/controls/TextField.qml
@@ -561,7 +561,7 @@ Control {
color: __panel ? __panel.placeholderTextColor : "darkgray"
clip: contentWidth > width;
elide: Text.ElideRight
- renderType: Text.NativeRendering
+ renderType: __style ? __style.renderType : Text.NativeRendering
Behavior on opacity { NumberAnimation { duration: 90 } }
}
@@ -584,7 +584,7 @@ Control {
color: __panel ? __panel.textColor : "darkgray"
clip: contentWidth > width
- renderType: Text.NativeRendering
+ renderType: __style ? __style.renderType : Text.NativeRendering
onAccepted: textfield.accepted()
}