Icon position in Virtual Treeview

删除回忆录丶 提交于 2019-12-13 02:38:14

问题


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.

来源:https://stackoverflow.com/questions/37167702/icon-position-in-virtual-treeview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!