Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8381

QMessageBox, Button Text "Show Details..." get cut off in Windows 7 (x64)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.7.0
    • 4.6.2
    • None
    • Windows 7 Ultimate (x64)
    • ee379340fcc5ebf8625906f42540c0fb3577f9ac

      The button text for the detail section get cut of in Windows 7. Seems as the button does not get resized to the containing text. See screenshot.

      Example code for screenshot
      QMessageBox m;
      m.setWindowTitle( QObject::tr( "Error Reading Configuration" ) );
      m.setText( QObject::tr( "<b>Error while reading configuration.</b>" ) );
      m.setIcon( QMessageBox::Critical );
      m.setInformativeText( QObject::tr( "Please contract your system administrator and show this message. "
      	"The application can not get started without a correct configuration." ) );
      m.setDetailedText( QObject::tr( "Error message from configuration system was: %1" ).arg( gCfgManager().error() ) );
      m.exec();
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            drzoom Tobias Erbsland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes