diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-06-12 18:19:14 +0200 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@digia.com> | 2014-06-13 12:47:37 +0200 |
commit | 09bc86d48895f4af6ae39d36c43fdbc1c0a7a28c (patch) | |
tree | 93ea472c9f7a16333d391a77e3a0c41ccf8395d8 /src/controls/SpinBox.qml | |
parent | 94d3210b1b6c7ad16776a760e7299b0bf5cbfaf8 (diff) | |
download | qtquickcontrols-09bc86d48895f4af6ae39d36c43fdbc1c0a7a28c.tar.gz |
SpinBox: let style panel specify a font
The same way than for TextField. Required for Android.
Change-Id: Ie055670307793aad1bd3f86c0c9594dda5c47be6
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/SpinBox.qml')
-rw-r--r-- | src/controls/SpinBox.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml index 6a8a9548..f4374bbb 100644 --- a/src/controls/SpinBox.qml +++ b/src/controls/SpinBox.qml @@ -278,6 +278,7 @@ Control { onEditingFinished: spinbox.editingFinished() + font: __panel ? __panel.font : TextSingleton.font color: __panel ? __panel.foregroundColor : "black" selectionColor: __panel ? __panel.selectionColor : "black" selectedTextColor: __panel ? __panel.selectedTextColor : "black" |