aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/SpinBox.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-11-23 14:17:32 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-26 17:28:02 +0000
commitf556f3ea80ebc41cb6a49560e83965c8889b8974 (patch)
treef36be3e2db498fefe582cde1930fb9272f49fed0 /src/imports/controls/SpinBox.qml
parentd1a3ab2a9d391bbb4ec07920bb243d21910a3e22 (diff)
Implement more of default style design
Change-Id: Ieaa2fa1b876d75f94f48a7fce0c47c166b969d57 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/SpinBox.qml')
-rw-r--r--src/imports/controls/SpinBox.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/SpinBox.qml b/src/imports/controls/SpinBox.qml
index a8b2dbe5..6a157ba9 100644
--- a/src/imports/controls/SpinBox.qml
+++ b/src/imports/controls/SpinBox.qml
@@ -52,6 +52,7 @@ T.SpinBox {
padding: 6
leftPadding: 6 + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0))
rightPadding: 6 + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0))
+ opacity: control.enabled ? 1 : 0.3
//! [validator]
validator: IntValidator {