+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Tree (vertical with sub-levels) display:inline

Tree (vertical with sub-levels) display:inline

2 posts, 0 answered
  1. Andrey
    Andrey avatar
    5 posts
    Registered:
    16 Feb 2011
    30 Mar 2011
    Link to this post
    Greetings,
    How can I fix this issue - when I create Tree (vertical with sub-levels) menu it displays the links on a single line, You can guess that having a longer sentence in the menu, which is situated on the left makes the long link run over the middle content column. I've tried to set width from Edit> Advanced > Layout > Width: 180px, but that doesn't change anything.

    I've tried it with both my template that has specific list styling for the left column and without template (the default sitefinity styling) and still the same issue, longer links just go in a single line instead of adjusting to the width of the container.

    Thanks for your time
  2. Jordan
    Jordan avatar
    172 posts
    Registered:
    20 Oct 2015
    05 Apr 2011
    Link to this post
    Hello Andrey,

    One of the CSS properties of RadTreeView is called white-space. You should set the width of the container with CSS and the set that property to:

    .RadTreeView{
      white-space: normal !important;
    }

    The result is



    Regards,
    Jordan
    the Telerik team

2 posts, 0 answered