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

Incorrect ComboBox height

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.2
    • Quick: Controls 2
    • None
    • Windows 10
    • All

    Description

      The height of ComboBox can be incorrect, for example on Android with Fusion style ComboBox height is not enough for `g` symbol, see attachment (qt6_combo).

      There is no customizations with the ComboBox in my app, it is declared as follows:

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Layouts
      
      Page {
      ...
                  ComboBox {
                      id: levelComboBox
                      Layout.fillWidth: true
                      currentIndex: 1
                      model: scene.levelNames
                      onCurrentIndexChanged: {
                      }
                  }
      ...
      }
      

      On Windows it looks even worse, see combobox.png, but with default style it looks ok, see combobox1.png.

      I published this on the forum first and did not receive an answer explaining this behaviour.

      Attachments

        1. AppWithBug.zip
          3 kB
        2. combobox.png
          combobox.png
          4 kB
        3. combobox1.png
          combobox1.png
          3 kB
        4. gop.png
          gop.png
          30 kB
        5. image-2024-10-04-15-53-03-985.png
          image-2024-10-04-15-53-03-985.png
          5 kB
        6. macos-font.png
          macos-font.png
          36 kB
        7. qt6-combo.png
          qt6-combo.png
          3 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-99132
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              dmitriano Dmitry Efimov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change