locus
26th July 2007, 22:30
I am trying to set the size of a message box that i have created as follows:
QMessageBox msgBox(this);
msgBox.setWindowTitle(tr("MailBox Location"));
msgBox.setInformativeText(tr("You must ..... and so on and so forth"));
I have tried the following:
1). msgbox.setGeometry ( int x, int y, int w, int h )
2). msgbox.resize(int w, int h)
and nothing seems to affect the way the box is diplayed, interms of its size that is.
any suggestion is welcomed.
Thanks in advance.
QMessageBox msgBox(this);
msgBox.setWindowTitle(tr("MailBox Location"));
msgBox.setInformativeText(tr("You must ..... and so on and so forth"));
I have tried the following:
1). msgbox.setGeometry ( int x, int y, int w, int h )
2). msgbox.resize(int w, int h)
and nothing seems to affect the way the box is diplayed, interms of its size that is.
any suggestion is welcomed.
Thanks in advance.