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

QML TextField (Material 3) has incorrect rendering of top/bottom edges in some situations

    XMLWordPrintable

Details

    • Windows

    Description

      Hello! A visual bug has been identified where the top or bottom border of a TextField is rendered incorrectly in the following cases:

      Condition 1:

      • TextField is used as contentItem in a Dialog.
      • TextField has an odd value for implicitHeight.
      • The Dialog has a centerIn anchor (centered relative to its parent).

      Condition 2:

      • TextField is used as contentItem in a Dialog.
      • TextField has any value for implicitHeight.
      • The Dialog has a header with an odd value for implicitHeight.
      • The Dialog has a centerIn anchor (centered relative to its parent).

      May be exists other conditions, but i use these cases.

      Attachments

        1. Case 1.png
          Case 1.png
          10 kB
        2. Case1.qml
          0.6 kB
        3. Case2.png
          Case2.png
          11 kB
        4. Case2.qml
          0.8 kB
        5. NormalBehavior.png
          NormalBehavior.png
          11 kB
        6. NormalBehavior.qml
          0.8 kB
        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
            sidsukana Denis Yemets
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes