I'm using TAdvListView and have a problem with item image location.
As you can see, the first item ("Predmet") is done fine. Text is centered and image is also centered. But, other items only text is centered and image is at the top:
How do I center all other images?
OwnerDraw = true
ItemHeight = 30
TImageList component contains the images.
I have retested this here but could under these conditions not reproduce this with the latest version of TAdvListView. If a problem persists with the latest version, please provide some sample source app with which we can reproduce this here.
Here is the sample project.
We have applied an improvement that will be included in the next update.
Just to mention, TAdvListBox has the same problem.
In TAdvListBox, the image and text are by design both drawn top aligned.
In TAdvListViev, image of the first item is not centered if ShowColumnHeaders = false?
Is this v18.104.22.168 you're using as we did an improvement wrt image vertical positioning in the latest version.
Yes. I am using the latest version and image positioning is OK unless ShowColumnHeaders = false. Then, the image of the first item is positioned at the top and rest of the images are centered.
We have traced & solved this issue. The next update will address this.