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

Quick Controls 2 Material: Support for textField with floating label

    XMLWordPrintable

Details

    • 20e3d1b52 (dev), a62dd4785 (6.5)

    Description

      The TextField described in the material design documents have a label that moves to the top when the input field have focus. It would be very nice if the material theme supported this out of the box as well, as I imagine it is something most consumers of the theme would want.

      See:
      https://material.io/design/components/text-fields.html#anatomy

      Attachments

        1. Floating Label.gif
          Floating Label.gif
          760 kB
        2. Telegram Floating Label.gif
          Telegram Floating Label.gif
          160 kB
        3. TextField.qml
          7 kB

        Issue Links

          Activity

            People

              mitch_curtis Mitch Curtis
              dheym Dag Heyman
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: