I have an application which displays a wintree control with nodes that could contain fairly long text (up to 50 characters). The wintree control is resizeable by the user. When the wintree control is resized horizontally, the node text appears to be expanding by itself to the right until the full nodetext is visible. How can I prevent this from happening ? With shorter nodetext it doesn't happen. Thanks
Hello,
I believe that this is expected since the control is trying to fit all the space available and show the node's text. You could avoid this by setting a maximum label width like in the following code sample:
ultraTree1.Nodes[0].Override.MaxLabelWidth = 200;
Please do not hesitate to contact us if you need any additional assistance.