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. default.png
          712 kB
          Dag Heyman
        2. main.qml
          0.3 kB
          Dag Heyman
        3. material.png
          704 kB
          Dag Heyman
        4. material-5-9.png
          20 kB
          Dag Heyman
        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