All Products
Demos
Services
Blogs
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX Forum
/
TreeView
/
Reduce Horizontal Indent
Cancel
Telerik UI for ASP.NET AJAX
Resources
Buy
Try
Feed for this thread
2 posts, 0 answers
Sunny
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?
Yana
Admin
5043 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-left
:
1px
;
}
div.RadTreeView .rtHover .rtIn, div.RadTreeView .rtSelected .rtIn {
padding-left
:
0px
;
}
div.RadTreeView .rtPlus, div.RadTreeView .rtMinus {
margin-right
:
0px
;
}
</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
Close