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



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.