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

Incorrect ComboBox height

XMLWordPrintable

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

      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.

        1. qt6-combo.png
          3 kB
          Dmitry Efimov
        2. combobox.png
          4 kB
          Dmitry Efimov
        3. combobox1.png
          3 kB
          Dmitry Efimov
        4. gop.png
          30 kB
          Dmitry Efimov
        5. AppWithBug.zip
          3 kB
          Dmitry Efimov
        6. macos-font.png
          36 kB
          Dmitry Efimov
        7. image-2024-10-04-15-53-03-985.png
          5 kB
          Dmitry Efimov
        For Gerrit Dashboard: QTBUG-99132
        # Subject Branch Project Status CR V

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

              Created:
              Updated:

                There is 1 open Gerrit change