[HELP] TreeView font size.

Is there a way to increase the font size for the size in TreeView (parent and child)? Picture below is default size. 


3 Replies

PR Piramanayagam Ramakrishnan Syncfusion Team November 13, 2017 12:15 PM UTC

Hi Dana, 
 
Thanks for contacting Syncfusion Support. 
 
We can achieve your requirement (“increase the font size for the size in TreeView”) in TreeView component by overriding the CSS. Please refer to the below code example, 
 
[CSS] 
 
<style> 
    /*Change the font-size for all nodes*/ 
    .e-treeview .e-list-text { 
        font-size: 16px; 
    } 
</style> 
 
 
For your reference, we have prepared a sample based on your requirement in the link: http://plnkr.co/edit/hMS2dabmvLt5BW0012bf?p=preview 
 
Please let us know whether the provided sample is helpful in achieving your requirement. If not, revert with more information to provide an appropriate solution. 
 
Regards, 
Piramanayagam R 



DA Dana November 14, 2017 01:41 AM UTC

Thank you. It works.



PR Piramanayagam Ramakrishnan Syncfusion Team November 14, 2017 12:59 PM UTC

Hi Dana, 
 
Most welcome. Please let us know if you need further assistance. 
 
Regards, 
Piramanayagam R 


Loader.
Up arrow icon