I am using Qt 4.4 on WM5 and my application is displaying a QMessageBox
to the user.  I have noticed that sometimes the message box does not
wrap the text.  What happens in this case is that the dialog that is
displayed is made larger than the screen, and the user has to use the
stylus to position the window so that the OK button can be clicked.
However, if the text is made just a little bit longer, then the message
box wraps the text as expected.

 

I have attached a sample program that reproduces this issue.

 

I am running the application on the Windows Mobile 5.0 emulator.

 

Best regards,

George

 

 

 

 

#include <QApplication>

#include <QMessageBox>

 

int main( int argc, char ** argv )

{

    QApplication a( argc, argv );

 

    QMessageBox::warning(NULL,"Test Message",

            "This is a short message; fails to wrap");

 

    QMessageBox::warning(NULL,"Test Message",

            "This is a longer message; long enough that the text
wraps");

 

    return 0;

}

_______________________________________________
Qtce-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qtce-preview-feedback

Reply via email to