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

QComboBos is larger than it should be when used as editor of a view on macOS

    XMLWordPrintable

Details

    • macOS

    Description

      Reproducer attached. It is a modified version of "Spin Box Delegate Example" with QSpinBox replaced by QComboBox. The original example of QSpinBox looks alright. But QComboBox does not - it looks larger than it should be. And consequently, a small part of it on top is "clipped out" of the cell. Qt Creator shows the same issue. See the attached screenshot. Notice that how those QComboBox is slightly "clipped out" on top.

      Also, the issue is not reproducible on Windows. Seems like a macOS thing.

      Attachments

        1. Application_screenshot.png
          Application_screenshot.png
          205 kB
        2. QComboBox_issue.zip
          0.2 kB
        3. QtCreator_screenshot.png
          QtCreator_screenshot.png
          199 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes