Setting background color for QCheckBox::indicator resets all other styling
-
Hi, I want to change the background of my checkbox, i tried this :
QCheckBox::indicator{background-color:red;}
but then the checkbox do not work.
how can i change the background color without reset all other styling.
@Mahjouba said in Setting background color for QCheckBox::indicator resets all other styling:
but then the checkbox do not work.
Hello and welcome.
In what way "checkbox do not work"?
without reset all other styling.
What other styling are you talking about?
-
no checkmark appears anymore when the checkbox is selected.
the other styling are the color of the text/label.