From f556f3ea80ebc41cb6a49560e83965c8889b8974 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 23 Nov 2015 14:17:32 +0100 Subject: Implement more of default style design Change-Id: Ieaa2fa1b876d75f94f48a7fce0c47c166b969d57 Reviewed-by: J-P Nurmi --- src/imports/controls/SpinBox.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'src/imports/controls/SpinBox.qml') 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 { -- cgit v1.2.3