Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net Narrow font for TreeView

Hi

I have a TreeView where I use long sentences on the nodes - can anyone suggest a narrow fonr that is easy to read
ASKER CERTIFIED SOLUTION
Avatar of Obadiah Christopher
Obadiah Christopher
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
And here's a bit more:
<style type="text/css">
      
      #SampleTreeView {width:500px;font-family:Arial Narrow, Segoe UI Arial, Arial; font-size:32px;}
      
      .RootNode {background-color:#CCCCFF; }
      
      .ParentNode {color:Navy; background-color:#33CC33; }
      
      .Node {color:Orange;font-size:22px; }
      
      .LeafNode {color:Black;font-size:12px;letter-spacing:0px;}
       
    </style>

Open in new window



Then in your treeview
       
        <LeafNodeStyle CssClass="LeafNode" />

        <NodeStyle CssClass="Node" />

        <ParentNodeStyle CssClass="ParentNode" />

        <RootNodeStyle CssClass="RootNode" />

      </asp:TreeView>

Open in new window

User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks very much