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


    this behavior is like:
    @QPalette p = ui.gbOpcoes->palette();
    p.setColor(QPalette::Light, Qt::red);
    Somebody knows what is happens???

    Edit: please use @ tags around code sections; Andre

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.