Tree (vertical with sub-levels) display:inline

Posted by Community Admin on 05-Aug-2018 13:44

Tree (vertical with sub-levels) display:inline

All Replies

Posted by Community Admin on 30-Mar-2011 00:00

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

Posted by Community Admin on 05-Apr-2011 00:00

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

This thread is closed