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

ListView.indexAt() and GridView.indexAt() do not return the right item if the view has been scrolled

XMLWordPrintable

      ListView.indexAt() and GridView.indexAt do not return the right item if the ListView has been scrolled as it is not taking into account the fact what the scrollby is. Attached is an example QML to reproduce this problem and a patch to resolve it.

        1. itemlist.qml
          1 kB
          Andy Shaw (closed Nokia identity)
        2. patch.diff
          0.6 kB
          Andy Shaw (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            martjone Martin Jones (closed Nokia identity) (Inactive)
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes