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
855
NA 2008: WinTree Node Text
posted

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

  • 71886
    Offline posted

    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.