I figured out a workaround.
Set the TreeView font to Bold in the properties. As each node is created it
will be created with enough space for the bold text. Then, set the font to
regular:
NewNode.NodeFont = new Font("Microsoft Sans Serif", (float) 8.25,
System.Drawing.FontStyle.Regular);
The Node will be displayed in regular weight, but enough space will be
allocated to properly display it when you set it to bold:
NewNode.NodeFont = new Font("Microsoft Sans Serif", (float) 8.25,
System.Drawing.FontStyle.Bold);
"Neil Makar" <ne********@amsec.com> wrote in message
news:e8****************@TK2MSFTNGP11.phx.gbl...
I have set a node in a treeview to bold, and of course, the POS has
clipped it. Does anyone know how to expand the node width so all the text will be
displayed?
I am seriously disappointed in this thing. Trees used to be fairly easy.
This TreeView thing has been lobotomized.
Neil