summaryrefslogtreecommitdiff
path: root/src/controls/SpinBox.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-05-22 10:31:07 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-27 02:44:07 +0200
commit87f560d217da6172c9386eacb0c90cf6473e670b (patch)
treef2444ec790a1aa8f3d897f90ddf808f3570e5880 /src/controls/SpinBox.qml
parent824a1bac502fec2a7a1e20555336da9c00b5bd67 (diff)
downloadqtquickcontrols-87f560d217da6172c9386eacb0c90cf6473e670b.tar.gz
Improve size hints for SpinBox and TextField
These were both too small on most platforms. Since we have rather broken logic in widgets for this, I will simply assume they share the same height. Change-Id: I98da5a925087fec300de3c1c91b58110103e1a38 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/SpinBox.qml')
-rw-r--r--src/controls/SpinBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml
index 2f90ff95..ec563afc 100644
--- a/src/controls/SpinBox.qml
+++ b/src/controls/SpinBox.qml
@@ -159,7 +159,7 @@ Control {
readonly property alias containsMouse: mouseArea.containsMouse
- readonly property int contentHeight: Math.max(input.implicitHeight, 20)
+ readonly property int contentHeight: Math.max(input.implicitHeight, 16)
readonly property int contentWidth: Math.max(maxSizeHint.implicitWidth, minSizeHint.implicitWidth)
}