summaryrefslogtreecommitdiff
path: root/src/controls/SpinBox.qml
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@digia.com>2014-02-20 19:23:44 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-26 11:05:36 +0100
commit41f44e224695789974e2c92db95810e19e6fab49 (patch)
tree9e31bbf8b04aa7c90d32a36a25d7d57de7ba16d7 /src/controls/SpinBox.qml
parent9bdbff5a14f340b6b12f1fcd84608d17bdc67d70 (diff)
downloadqtquickcontrols-41f44e224695789974e2c92db95810e19e6fab49.tar.gz
Set baselineOffset on Styles/Base correctly
Fixes the baselineOffset for TextField and SpinBox Task-number: QTBUG-36529 Change-Id: I697d4c8bc2ee61929eabb54a6ec6520311a4e3e2 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/SpinBox.qml')
-rw-r--r--src/controls/SpinBox.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml
index 8fc964a0..f235dfbd 100644
--- a/src/controls/SpinBox.qml
+++ b/src/controls/SpinBox.qml
@@ -194,6 +194,9 @@ Control {
/*! \internal */
property alias __text: input.text
+ /*! \internal */
+ property alias __baselineOffset: input.baselineOffset
+
__styleData: QtObject {
readonly property bool upEnabled: value != maximumValue;
readonly property alias upHovered: mouseUp.containsMouse