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

ListView positionViewAtIndex ignores ListView.End

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6
    • None

    Description

      Reproduce:

          ListView {
              model: 1000
              anchors.fill: parent
              delegate: Text

      {             text: index         }

              Component.onCompleted: positionViewAtIndex(500, ListView.End)
          }

      Expected behavior: The ListView should align the 500th item with the bottom of the view.
      Observed behavior: The ListView aligns the 500th item with the top of the view.

      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
            matthias_rauter Matthias Rauter
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes