From a66e08da7681f7301e23c55fd1f40ef8461f0896 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 26 Oct 2016 12:48:58 +0200 Subject: 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 --- src/imports/controls/RadioButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imports/controls/RadioButton.qml') diff --git a/src/imports/controls/RadioButton.qml b/src/imports/controls/RadioButton.qml index 1c63a8de..a1a5d1a1 100644 --- a/src/imports/controls/RadioButton.qml +++ b/src/imports/controls/RadioButton.qml @@ -51,7 +51,6 @@ T.RadioButton { padding: 6 spacing: 6 - opacity: enabled ? 1 : 0.3 //! [indicator] indicator: RadioIndicator { @@ -73,6 +72,7 @@ T.RadioButton { visible: control.text horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignVCenter + opacity: enabled ? 1 : 0.3 } //! [contentItem] } -- cgit v1.2.3