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

Layout.fillHeight is not working proper.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.4, 6.3.0
    • None
    • Dell XPS15
    • Windows

    Description

      The attached Quick-application contains a Frame with a ColumnLayout as contentItem.
      This layout contains Rectangle(blue) between a header and footer. The height of this rectangle grows with the window height using Layout.fillHeight: true. At the start, the application looks as expected. But when TextEditor gets focus and the X-button becomes visible, the blue rectangle shrinks and does not fill the left space of the window.
      This snippet is working with Qt 5.15.* but not with Qt 6.
      I get it working with Qt6, when I declare a invisible and empty Item in the ColumnLayout.

      Attachments

        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
            cherold Christian von Wascinski
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes