Some colors changes in QT forms without pattern
-
Sometime the border color of QGroupBox is changed when i open the form (like modal). This not happens all times. The color is correct in most times.
I dont understand why this happens...I'm using QT 4.8
See picture attached for more infos
!http://www.eneias.com/qcolor.png(http://www.eneias.com/qcolor.png)!
this behavior is like:
@QPalette p = ui.gbOpcoes->palette();
p.setColor(QPalette::Light, Qt::red);
ui.gbOpcoes->setPalette(p);
@
Somebody knows what is happens???Edit: please use @ tags around code sections; Andre