Reduce Horizontal Indent

2 posts, 0 answers
  1. Sunny
    Sunny avatar
    31 posts
    Member since:
    Aug 2009

    Posted 29 Sep 2009 Link to this post

    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?
  2. Yana
    Admin
    Yana avatar
    4985 posts

    Posted 29 Sep 2009 Link to this post

    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.
Back to Top