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

Repeater in a RowLayout arranges children incorrectly when model changes.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.4.1
    • Quick: Layouts
    • None
    • 59f7b30d41b06b1d9da81aea5784d57ecd91ab04 42c04ed29c36eec70cdce58e5c2d19faec62d039

    Description

      If a Repeater is used to create children for a RowLayout, the newest element doesn't respect the arrangement of existing children. After the model updates, the RowLayout adds new children from the Repeater, and the newest child is laid out after an element that is outside the Repeater.

      See attached image and code example.

      Attachments

        Issue Links

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

          Activity

            People

              smd Jan Arve
              bargonaut Brad Sandman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes