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

Wrong alignment in QComboBox popup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.6, 5.14.1
    • Widgets: Styles
    • None
    • macOS

    Description

      When showing the popup of a QComboBox which has its font-size set to 11px, the alignment is wrong:

      • The checkmark is displayed too low compared to the icon
      • The text is displayed too high compared to the icon

      Since we upgraded from Qt 5.6.0 to Qt 5.12.6 we have this problem.

      A minimal working example is attached and also a screenshot of the popup in Qt 5.6.0 and Qt 5.12.6

      Attachments

        1. ComboBox.zip
          2 kB
        2. Qt 5.12.6.png
          Qt 5.12.6.png
          10 kB
        3. Qt 5.6.0.png
          Qt 5.6.0.png
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            dbutijn David Butijn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes