Treeview Font sizes grow with level

2 posts, 0 answers
  1. Bob Jones
    Bob Jones avatar
    8 posts
    Member since:
    Aug 2009

    Posted 19 Oct 2009 Link to this post

    The font sizes in my TreeView get larger with each level, and they look awful. Here is my declaration:
    <telerik:RadTreeView ID="tvDocuments" runat="server" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True" 
        CheckChildNodes="True" OnNodeClick="tvDocuments_NodeClick" OnContextMenuItemClick="tvDocuments_ContextMenuItemClick" 
        Skin="Default">  
        <ContextMenus> 
            <telerik:RadTreeViewContextMenu ID="LeafMenu" runat="server" ToolTip="Click to open, Right click to edit">  
                <Items> 
                    <telerik:RadMenuItem runat="server" Text="Open" /> 
                    <telerik:RadMenuItem runat="server" Text="Delete" /> 
                    <telerik:RadMenuItem runat="server" Text="Edit" /> 
                    <telerik:RadMenuItem runat="server" Text="New Folder" /> 
                </Items> 
            </telerik:RadTreeViewContextMenu> 
        </ContextMenus> 
    </telerik:RadTreeView> 
     
    How do I make all of the fonts the same size?

    I can change the theme and the color/icon for each node changes as well as the background color when I highlight a node, but the fonts are not affected by the theme.
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 19 Oct 2009 Link to this post

    Your markup generates a normal TreeView for me. Is his behavior seen across multiple browsers? Also, what version of the Telerik controls are you using? I tried your code using the latest version in Opera/Firefox/IE and it looked fine to me.
Back to Top