TreeView with Checkboxes - Node without Childs is not properly aligned

Hi, 

Could u give me some advice how I am able to fix my TreeView to be aligned properly.

I got some Nodes that have no Childs and I need them to be aligned like they would be with Child-Nodes

I attached a screenshot, thanks for ur help!

Attachment: Screenshot_20210322_221918_7ae9c47.zip

1 Reply 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team March 23, 2021 12:49 PM UTC

Hi Stefan, 
 
Greetings from Syncfusion support. 
 
We have validated your query in TreeView component. You can resolve the issue by including the below CSS style. Please check the code snippets. 
 
.e-treeview .e-icon-collapsible, .e-treeview .e-icon-expandable{ 
    margin-left: -22px; 
} 
 
Please find the sample demonstrating the solution. 
 
 
Please let us know if you need further assistance. 
 
Regards, 
Indhumathy L

Marked as answer
Loader.
Up arrow icon