QML ListView individual item spacing
-
Hello.
I have a ListView with Image delegates. The images can be different sizes, so to space images in the list evenly I was hoping perhaps I could have different spacings for each image depending on that image size.
In other words, the ListView.spacing property doesn't work since it affects all delegates equally. Is there a way to specify spacing inside the delegates themselves? anchors.topMargin and the like don't seem to work.
Thanks for your help!