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

Adjust viewport metrics after view item removed

    XMLWordPrintable

Details

    • 824cecea329f20f6d2c9c3453677cea8f0943434, 8047d8f2e63df60b5ea3f6fd02568658c3d19fc6

    Description

      If I remove the first item from model, there is an empty space in listview before the beggining of the first item. For example:

      myListView.model.remove(0); // let us have some fun
      myListView.viewportY = 0; // there is an empty space!!
      myListView.positionViewAtIndex(0); // all are ok, but
      console.log(myListView.atYBeginning); // dumps false, but correct value is true

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            kolam Paul Kolomiets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes