QMessageBox: setGeometry does not apply

  • I tried to change the posiotion and the size of a QMessageBox through setGeomtry but I was able to change only its position.

    @msgBox->setGeometry((scene->get_width()- scene->get_width()*0.5)/2,(scene->get_height()-scene->get_height()*0.5)/2,scene->get_width()*0.5,scene->get_height()*0.5);@

    is that some kind of bug?

    I am using qt 4.8.2 embedded Windows CE

  • Could please inform us on which platform are you testing your application and which version of Qt are you using?

Log in to reply

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