Using Delphi XE3, Listview in vsIcon mode with an imagelist assigned.
I add a few items and assign them an ImageIndex, and there is a very large spacing/margin between each image/item, how can I change that? Is it possible at all without custom drawing?
You can use
ListView_SetIconSpacingmacroRefer to the documentation, the values must include icon sizes, otherwise the icons overlap each other.
You can reset the view by sending ‘-1’ for cx and cy and the return value is the current spacing, so for instance, to decrease spacing with a certain amount, you can do: