Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Strange behavior with delegate Item's position in a GridView
cdelapasse last edited by
I want to create a GridView that displays a wall of pictures.
I am currently trying to set an overlay on each picture : picture is a
delegateitem from a
Further in my code, a have set a
zvalue is above any one (like an position:absolute in CSS) : "z: 10"
Rectangleshall cover 1 picture and the 2 pics on the right (or on the left, it depends on selection position). Info: I can't use mouse, only keyboard is allowed.
The strange beahavior comes while i am moving
currentIndex, browsing in the
GridView; hereunder is the Grid, you will notice the
Everything is going crazy once I pass the starting list (items displayed at the very first, no browsing), once the first item disappear.
I'm using "var pos = mapToItem(sheets, x, y);" inside the
delegate; hereunder the delegate
And the overlay looks like :
width: 140 * 3
Anything going wrong ?
Thank you !