-->

Icon position in Virtual Treeview

2019-08-12 07:01发布

问题:

I'm setting the icon in a Virtual Treeview in its OnGetImageIndex event. It works, but the icon is positioned directly at the left edge of the node (x=0). I'd like to move it a little bit to the right, but I can't find any way to do this.

An alternative would be to draw the icon manually, but I'm wondering if there's an easy way to position the icon that I'm overseeing.