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

Mac: Top 1 pixel of text is cut of on text in QDialog

    XMLWordPrintable

Details

    • macOS

    Description

      With some fonts the top 1 pixel of the text is cut off when shown in a dialog.

      This happens for example when showing a message with a QDialog and using the font "Hiragino Maru Gothic Pro".

      Seen on Mac.
      Please see example in message 25 from top: MessageBox-snapshot-20070212.tgz

      In the main.cpp modify the main() to have:
      int main(int argc, char *argv[])
      {
      QFont f("Hiragino Maru Gothic Pro");
      QApplication app(argc, argv);
      app.setDesktopSettingsAware ( false );
      app.setFont ( f);
      COMDialog *dialog = new COMDialog;
      dialog->show();
      return app.exec();
      }

      Attachments

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

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes