This is a migrated thread and some comments may be shown as answers.

Reduce Horizontal Indent

1 Answer 79 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Sunny
Top achievements
Rank 1
Sunny asked on 29 Sep 2009, 02:11 PM
HI,

I have a treeview populated like this

+ Parent1
     SubParentA
Child1
        Child2
     SubParentB
Child1
        Child2
+ Parent2
       ChildA
       ChildB

How do I remove the space between '+' sign and text (Parent1)
and move the 'Child' nodes to the left?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 29 Sep 2009, 02:42 PM
Hello there,

Please add the following css styles to the <head> section of your page:

<style type="text/css"
div.RadTreeView .rtIn { 
    padding-left1px
 
div.RadTreeView .rtHover .rtIn, div.RadTreeView .rtSelected .rtIn { 
    padding-left0px
 
div.RadTreeView .rtPlus, div.RadTreeView .rtMinus { 
    margin-right0px
</style> 

Best regards,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Sunny
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or