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
          205 kB
          Luqiao Chen
        2. image-2024-08-13-13-36-09-352.png
          146 kB
          Tor Arne Vestbø
        3. image-2024-08-13-13-36-46-964.png
          145 kB
          Tor Arne Vestbø
        4. QTBUG-124367.zip
          3 kB
          Luqiao Chen
        5. QtCreator_screenshot.png
          199 kB
          Luqiao Chen
        6. Screenshot 2024-08-20 at 18.32.03.png
          6 kB
          Volker Hilsheimer
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes