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

Repeater in a RowLayout arranges children incorrectly when model changes.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.1
    • Fix Version/s: None
    • Component/s: Quick: Layouts
    • Labels:
      None
    • Commits:
      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

          For Gerrit Dashboard: QTBUG-45152
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              smd Jan Arve
              Reporter:
              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