PDA

View Full Version : Size of QMessageBox



elizabeth.h1
28th September 2009, 12:32
Hello

The size of the QMessageBox is always equal to its text. If I have caption text that is bigger of the message box text, only part of the caption text is shown. How to make the size of the QMessageBox at least as the the size of its caption text ?
Maybe there is some flag I can set

wysota
28th September 2009, 15:33
It's not possible to determine the window caption size from within the application.

elizabeth.h1
28th September 2009, 15:46
How to make my whole caption text visible , then :(
Maybe resize the message box to some default acceptable size, that hopefully will be good for the most cases , although it looks more like workaround and not solution

wysota
28th September 2009, 17:00
You can show the window maximized :)