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

node alignment

1 Answer 89 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Shachaf
Top achievements
Rank 1
Shachaf asked on 05 Nov 2012, 05:24 PM
hello,

I'm creating a RadTreeView dynamically. when adding the first level (0) nodes to the treeview, the nodes that have children are aligned without any margin, while the nodes that do not have any children are aligned with a margin. all the nodes were created the same way (all the nodes are added in a loop). can anyone help me align all the the nodes in the same place?
i attached a screen shot of the RadTreeView that i get (Personal and Confirmation Center don't have any children while the others have)

thank you

1 Answer, 1 is accepted

Sort by
0
Anton
Telerik team
answered on 07 Nov 2012, 01:42 PM
Hello Shachaf,

Thank you for writing.

I tried to reproduce the problem locally but everything is working as expected on my end. There is sample demo project attached which I have used in my tests. Could you please take a look at it and modify it on a way to replicate this undesired behavior. This will allow me to investigate it and provide you with further support.

I am looking forward to your reply.

All the best,
Anton
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
Treeview
Asked by
Shachaf
Top achievements
Rank 1
Answers by
Anton
Telerik team
Share this question
or