Bold text in treeview is cut

  • Thread starter Thread starter Kejpa
  • Start date Start date
K

Kejpa

Hi,
I'm experiencing problems with showing bold text in a treeview. The text
gets cut and the last character isn't fully visible. It seems like the width
of the text is based on the non-bold size of the text.

Does anyone recognize this behaviour?
I'm using .NET 1.0, is it fixed in later versions?

TIA
Kejpa
 
Kejpa said:
experiencing problems with showing bold text in a
treeview. The text gets cut and the last character isn't
fully visible. It seems like the width of the text is
based on the non-bold size of the text.

Does anyone recognize this behaviour?
I'm using .NET 1.0, is it fixed in later versions?

I am not able to repro this behavior in .NET 1.1...
 
I had the same problem. It is probabaly MS Bug:
If NodeFont is larger than tree.font, then the node.text will
truncate...
my solution: the tree font should be the larger font any node would use.

Atara
 
Back
Top