TreeView web control

  I have looked everywhere I can think of for the means to control the height of the menu items, root,parent and leaf nodes, in this control. Also. The NodeIndent property only affects the root node and the parent nodes - I can't find a way to control the indent on the leaf nodes.  What am I missing



 


Answer this question

TreeView web control

  • ThisBytes5

    It worked somewhat - the tree renders fine as long as you don't try to define a specific graphic for leaf nodes.  I used a small bullet (gif) file and sure enough it adds a whole lot of indentation to the leaf nodes. the Root and second level nodes are fine (also with a custom graphic defined).

    very strange to me .

  • cluelis

    Jack,

    I assumer you are working with .Net 2005.  If I am correct, with the latest Release Candidate I had no problem setting the height using:

    TreeView1.NodeStyle.Height = 100


    Also, when I called TreeView1.NodeIndent, it affected all nodes, including the leaf nodes.

    TreeView1.NodeIndent = 100


    Let me know if that helps,

    Andy



  • TreeView web control