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

Details

    • 4d262c4e96f7bce1e1b4e96ee21949d05df75da1

    Description

      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.

      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)
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes