change disabled background color QCheckbox?
Solved
General and Desktop
-
Hi
Is it possible to change the standard gray-ish background color of a
QCheckBox::setEnabled(0)?
I tried to set the background via:
QCheckbox::setStyleSheet("QCheckBox::indicator {background-color:red;}");
but that fills the whole checkbox with that color including the border and the checkmark itself.
-
@pauledd
You mean the background color "overspill" to right & bottom? I don't know but you might play withborder-...
orpadding-...
(I'm thinkingmargin-
does not use background color, but I might be wrong) having a width/transparency/grey....