Qt 6.11 is out! See what's new in the release
blog
QML ListView individual item spacing
QML and Qt Quick
2
Posts
2
Posters
6.4k
Views
1
Watching
-
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!