ListView delegate: Rectangle used as separator line is not always rendered (QML Android)
Diracsbracket last edited by Diracsbracket
I have a
ListViewwith a simple delegate showing an icon, a
Rectangleused as separator line.
When the view is first rendered and scrolled downwards, all the separator lines are rendered correctly. However, when I swipe to scroll the list back up, the lines are either not rendered at all, or with the wrong, minimal thickness.
I have tried using different line width (i.e.
Rectangleheights) but to no avail.
I have tried on both Qt 5.10.1 and 5.11.
How can I fix this?
Diracsbracket last edited by
I changed the top level element for the delegate from
Item, which solves the problem.