Here is the code to reproduce it:
Dim oNode As New TreeNode
oNode.ImageIndex = 3
oNode.SelectedImageIndex = 3
oNode.NodeFont = New Font("Tahoma", 8, FontStyle.Bold)
oNode.Text = "Control Panel"
tvMenus.Nodes.Add(oNode)
tvMenus.Refresh()
Thank you for your help. I appreciate it.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:br************@ID-208219.news.uni-berlin.de...
* "Juan Romero" <ju*********@bowne.com> scripsit: I have been playing with different fonts for the nodes of a treeview.
When I change the font to bigger sizes, the text area of the treenode
(label) no
longer displays all the text. I only see what fits there. How do I
resize this area? I mean, one would expect the label box to resize itself.....
I am not able to repro that, even with very long texts.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>