From 2574fc00a43fc1e878a0f539308a7bb563904552 Mon Sep 17 00:00:00 2001 From: Yeison Date: Sat, 19 Sep 2020 17:23:50 -0500 Subject: [PATCH] Diferent color for text disabled in QRadioButton and QCheckBox (others pending) --- pyside_material/material.css.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyside_material/material.css.template b/pyside_material/material.css.template index 47f041b..b13d1b2 100644 --- a/pyside_material/material.css.template +++ b/pyside_material/material.css.template @@ -512,6 +512,11 @@ QCheckBox { spacing: 5px; } +QRadioButton:disabled, +QCheckBox:disabled { + color: {{secondaryTextColor|opacity(0.3)}}; +} + QCheckBox::indicator:checked { image: url(:/icon/primary/checkbox_checked.svg);