DEEPADEV
4th June 2012, 12:23
How to change the color of indicators in checkbox and radiobutton.
I tried something like this for checkbox
checkbox1->setStyleSheet("spacing: 5px;::indicator:checked { width: 15px; height: 15px;border-width: 2px;background:white; border-style: outset; border-color: blue; }");
but if i try it. I am not able to see the checkmark over it
.
And i didn't find anything for radiobutton.
I searched and applied some code but none working
I tried something like this for checkbox
checkbox1->setStyleSheet("spacing: 5px;::indicator:checked { width: 15px; height: 15px;border-width: 2px;background:white; border-style: outset; border-color: blue; }");
but if i try it. I am not able to see the checkmark over it
.
And i didn't find anything for radiobutton.
I searched and applied some code but none working