From 209c85709eff639651c5ead3bc7696dfd8b907f0 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 2 May 2017 13:32:20 +0200 Subject: Material: make icon color match text color Task-number: QTBUG-60502 Change-Id: Ia861155b0728cf5f8d1815dc2ff2af94a68b6b8f Reviewed-by: J-P Nurmi --- src/imports/controls/material/RadioDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imports/controls/material/RadioDelegate.qml') diff --git a/src/imports/controls/material/RadioDelegate.qml b/src/imports/controls/material/RadioDelegate.qml index 18a2de35..7b163ea8 100644 --- a/src/imports/controls/material/RadioDelegate.qml +++ b/src/imports/controls/material/RadioDelegate.qml @@ -58,7 +58,7 @@ T.RadioDelegate { icon.width: 24 icon.height: 24 - icon.color: enabled ? undefined : Material.hintTextColor + icon.color: enabled ? Material.foreground : Material.hintTextColor indicator: RadioIndicator { x: text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 -- cgit v1.2.3