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

Quick Controls 2: TextField have wrong width in material theme

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.12.0
    • Quick: Controls 2
    • None

      I seems that in Qt 5.12 the Quick Controls 2 TextField have a static width in the Material theme. This was not the case before, and is not the case in other themes.

      to reproduce:

       $ qmlscene main.qml
      

      Reproduced on: Qt 5.12 (macOS)

      Qt 5.9 and 5.11 seems to be ok, see screenshots and example code.

        1. material-5-9.png
          material-5-9.png
          20 kB
        2. material.png
          material.png
          704 kB
        3. main.qml
          0.3 kB
        4. default.png
          default.png
          712 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            dheym Dag Heyman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes