PDA

View Full Version : how to resize QMessageBox?



satya@sipl
26th July 2012, 08:41
Hi everyone.

I have a problem resizing the QMessageBox

QMessageBox noc;

QString er=tr("We are talking about a short stop at the end of a word in reading the Koran, with the intention to continue reading.");
//here I need resizing.
noc.setText(er);


I've tried the followings but not working



noc.setFixedSize(360,640);

and

noc.setBaseSize(360,640)

ChrisW67
26th July 2012, 09:08
... and what happened when you used those functions? What else did you try? Where do you think the default size of the message box comes from? When might that be determined?