Stylesheet QRadiobutton
Solved
General and Desktop
-
Hi,
I try to change style of my QRadioButton. But when this one is disabled, a new color appears to create a shadow effect, but I don't know how to change or remove this color in qss file.
Someone can help me ?Here, shadow color is white.
-
@OPit
Can only say: search https://doc.qt.io/qt-5/stylesheet-reference.html. I thought it might betext-decoration
, but seemingly not. There is a mention ofshadow
, if that's what it is.Also see https://forum.qt.io/topic/78123/stylesheet-for-disabled-qpushbutton-under-win-xp/6, I have a feeling
{ etch-disabled-text: 0; }
is supposed to control it but does not work.Otherwise if cannot do it via stylesheet, may have to do it through
QStyle
.