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. macos-font.png
          macos-font.png
          36 kB
        6. qt6-combo.png
          qt6-combo.png
          3 kB

        Issue Links

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              dmitriano Dmitry Efimov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: