diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-07-08 14:55:09 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@digia.com> | 2014-07-08 17:50:40 +0200 |
commit | 8c3afd82b298dc2189f3e5f9edafac1b2bf6a722 (patch) | |
tree | 5c040a80301b380a6543bfe02772bfcc0afffdf0 /src/controls/SpinBox.qml | |
parent | 818710e83c08cd97401f9858ccd29f0333488462 (diff) | |
download | qtquickcontrols-8c3afd82b298dc2189f3e5f9edafac1b2bf6a722.tar.gz |
Add SpinBoxStyle::font
Replace the hidden panel.font-property with a proper font-property
that is used in other textual controls' styles too.
Change-Id: I93d712ba48e249d28dde0bc27406a13fb6aff1b0
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'src/controls/SpinBox.qml')
-rw-r--r-- | src/controls/SpinBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml index f4374bbb..5d1268d8 100644 --- a/src/controls/SpinBox.qml +++ b/src/controls/SpinBox.qml @@ -278,7 +278,7 @@ Control { onEditingFinished: spinbox.editingFinished() - font: __panel ? __panel.font : TextSingleton.font + font: __style ? __style.font : TextSingleton.font color: __panel ? __panel.foregroundColor : "black" selectionColor: __panel ? __panel.selectionColor : "black" selectedTextColor: __panel ? __panel.selectedTextColor : "black" |