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

Layouts not sized correctly on first show when used in StackLayout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 6.7.1, 6.7.2
    • Quick: Layouts
    • None
    • Linux/Wayland, macOS

      When a RowLayout or ColumnLayout is used as a page in a StackLayout, and it is not the first page shown, it will not correctly fill the StackLayout the first time it is shown. The size will be corrected if the StackLayout is resized or if its currentIndex is changed to another page and back again. This appears to only affect layouts, not other items. This issue did not occur in 6.7.0. A qml file that demonstrates this bug in Qt's provided qml preview tool has been attached.

        1. test.qml
          2 kB
          Steven Schulteis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            edcooke Ed Cooke (Inactive)
            sschulteis Steven Schulteis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes