TAdvListView item height & images

Hi,

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.

Thanks.

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.

https://app.box.com/s/r1eo3cchkfguu45c23un

Anything?

We have applied an improvement that will be included in the next update.

Thanks

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 v1.6.9.7 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.