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

Material 3 floating placeholder is drawn outside item and gets clipped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.5.0, 6.6.0
    • Quick: Controls 2
    • None
    • All

    Description

      The new Material 3 design has floating placeholders, but they are drawn outside item boundaries and get clipped depending on how the UI is created.

      ColumnLayout {
              anchors.fill: parent
              TextField {
                  placeholderText: "Text clipped"

                            }
              Item {
                  Layout.fillHeight: true
                  id: spacer
                  width: 1

                         }

      }

      It's not always easy to add margins to workaround this

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              dantti Daniel Nicoletti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes