diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2016-10-26 12:48:58 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-10-26 16:43:55 +0000 |
commit | a66e08da7681f7301e23c55fd1f40ef8461f0896 (patch) | |
tree | b9f45c91b994f5af251e559e7de055d367f6a9ed /src/imports/controls/CheckBox.qml | |
parent | 1b7ac95bc0296301dee0846e0ea4381c762d8a33 (diff) |
Default: move opacity assignments to individual delegates
This way, users have control over the opacity of child items.
Change-Id: Ie7c0b08eb0b22d11319f8c2f1807e6a3a68790ea
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/CheckBox.qml')
-rw-r--r-- | src/imports/controls/CheckBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/CheckBox.qml b/src/imports/controls/CheckBox.qml index 78b42276..52ce20ef 100644 --- a/src/imports/controls/CheckBox.qml +++ b/src/imports/controls/CheckBox.qml @@ -51,7 +51,6 @@ T.CheckBox { padding: 6 spacing: 6 - opacity: enabled ? 1 : 0.3 //! [indicator] indicator: CheckIndicator { @@ -73,6 +72,7 @@ T.CheckBox { visible: control.text horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignVCenter + opacity: enabled ? 1 : 0.3 } //! [contentItem] } |