TreeNode text length
Posted on 2004-08-25
I have a TreeView control in which I must display fairly long text strings in the nodes (50-60 character strings). Although I set the TreeNode's text property to the entire string it is only displaying partial strings (it seems to depend on the font). With a font size of 9, I am only seeing approximately 37 characters. With smaller font sizes I get more, but that's not the solution I'm looking for. Changing the width property of the TreeView itself makes no difference, it seems to be a problem with the individual nodes cutting off the text. Anyone have a clue?