summaryrefslogtreecommitdiff
path: root/components/SpinBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/SpinBox.qml')
-rw-r--r--components/SpinBox.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/SpinBox.qml b/components/SpinBox.qml
index 8c07f596..0007450c 100644
--- a/components/SpinBox.qml
+++ b/components/SpinBox.qml
@@ -201,6 +201,7 @@ FocusScope {
selectByMouse: true
selectionColor: syspal.highlight
selectedTextColor: syspal.highlightedText
+ renderType: Desktop.nativeTextRendering ? Text.NativeRendering : Text.QtRendering
// validator: DoubleValidator { bottom: minimumValue; top: maximumValue; }
onAccepted: {setValue(input.text)}
@@ -212,6 +213,8 @@ FocusScope {
anchors.rightMargin: 4
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
+ renderType: Desktop.nativeTextRendering ? Text.NativeRendering : Text.QtRendering
+
}
}