Hello, i created a QMessageBox in this way:
can't i set a default size for height and weidth?
thx
Printable View
Hello, i created a QMessageBox in this way:
can't i set a default size for height and weidth?
thx
I don't think you can, when using the convenience static methods.
You can create a QMessageBox on the stack for example, and resize it before you you call exec().
But it is just as much (or little) work to subclass and add that functionality too...
Your choice.
The question is, what do you need it for?