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

Material 3 floating placeholder is drawn outside item and gets clipped

XMLWordPrintable

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

      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

        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
            dantti Daniel Nicoletti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes