summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Desktop/SpinBoxStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Desktop/SpinBoxStyle.qml')
-rw-r--r--src/controls/Styles/Desktop/SpinBoxStyle.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/controls/Styles/Desktop/SpinBoxStyle.qml b/src/controls/Styles/Desktop/SpinBoxStyle.qml
index 63fd32ce..d7d32916 100644
--- a/src/controls/Styles/Desktop/SpinBoxStyle.qml
+++ b/src/controls/Styles/Desktop/SpinBoxStyle.qml
@@ -53,7 +53,6 @@ Style {
StyleItem {id: styleitem ; visible: false}
property int renderType: Text.NativeRendering
- property alias font: styleitem.font
property Component panel: Item {
id: style
@@ -64,6 +63,8 @@ Style {
property int horizontalAlignment: Qt.platform.os === "osx" ? Qt.AlignRight : Qt.AlignLeft
property int verticalAlignment: Qt.AlignVCenter
+ property alias font: styleitem.font
+
property color foregroundColor: SystemPaletteSingleton.text(control.enabled)
property color backgroundColor: SystemPaletteSingleton.base(control.enabled)
property color selectionColor: SystemPaletteSingleton.highlight(control.enabled)