Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. ListView - remove inserted item -> below items jump up?
QtWS25 Last Chance

ListView - remove inserted item -> below items jump up?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 370 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Szymon
    wrote on last edited by
    #1

    Hi gurus!
    In my previous post here link text, I inserted an item into the ListView on the fly.
    Now I would like to remove it again by clicking on the list element below this item and moving my finger/mouse up or down.
    The item goes away fine, but the items below jump up. So suddenly the mouse/finger is over another item in the list. I would rather see the items above go down, so the result looks like at the details below.
    At the moment I am using in ListView.onMovementStarted the function:
    positionViewAtIndex()
    How do I force the element, that my finger/mouse is over, not to jump up?

    PS. When I move the list(while NEW item is open) pressing above items, it works fine.

    thanks+cheers
    Simon :-)

    0_1499265011537_IMG_20170705_162249.jpg

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved