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

ListView positionViewAtIndex() function fails to keep up with changes in footer (and header?) geometry

XMLWordPrintable

    • 4d262c4e96f7bce1e1b4e96ee21949d05df75da1

      Calling positionViewAtIndex is still using old information to position the view if called right after the footer height has changed. The positionViewAtIndex is always one step behind the height changes. You can go around to this problem is to call positionViewAtIndex asyncronously with a Timer (i.e. wait for the ListView to be in correct state). See attached example, the footer should visible in full with margin of 10 around it.

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

            martjone Martin Jones (closed Nokia identity) (Inactive)
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes