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

distance between image and text

2 Answers 47 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Nazim
Top achievements
Rank 1
Nazim asked on 01 Apr 2011, 01:09 PM
Hi,
Is it possible to minimize distance between node's default image and node's text?   I could not find reletaed style property in TreeView.css file. I attached the screen shot of tree to point the distance I want to narrow.
Thank you,

2 Answers, 1 is accepted

Sort by
0
Nazim
Top achievements
Rank 1
answered on 01 Apr 2011, 01:34 PM
Hi, I've found it,  with the belowed styles the distance can be narrowed.


.RadTreeView .rtTop,
.RadTreeView .rtMid,
.RadTreeView .rtBot
{
    padding: 1px 0px 1px 5px;
}
.RadTreeView .rtPlus,
.RadTreeView .rtMinus
{
    margin: 6px 0px 0px -5px;    
}
0
Kate
Telerik team
answered on 06 Apr 2011, 09:43 AM
Hi Nazim,

I am happy you found a solution for your issue. For more detailed explanation here is a very good help article on that matter: CSS Skin File Selectors.

Greetings,
Kate
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Nazim
Top achievements
Rank 1
Answers by
Nazim
Top achievements
Rank 1
Kate
Telerik team
Share this question
or