Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Size of selection rectangle when customized drawing nodes texts
posted
Hi everybody. I use WinTree on my form and use xml as node text. Also I've created class implemented IUIElementDrawFilter for colorization text in nodes. But when one node selected -- width of selection rectangle equal width of node text xml but not real text displayed by DrawFilter. How can I resize rectangle of selection for real displayed text? Thanks.
Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

        Can you post a screen shot of what this looks like? My guess is that your DrawFilter will also have to draw the focus rectangle. The tree can't possibly know how big the text is when you are drawing it. 

Children