Posted 16 years ago
by Paul Fuller
Version: 4.0.0276
Platform: .NET 2.0
Environment: Windows XP (32-bit)
Hi,
I have implemented outlining using custom CollapsedText for various nodes. When the nodes are collapsed the text is displayed according to CollapsibleTextStyle.
For this style, the FontFamilyName, ForeColor, Bold etc settings are used properly when the text is displayed.
FontSize is also used so the text size can be varied. However the text is always rendered within a rectangle that appears to be calculated on a fixed FontSize of 10. The result is clipping if the FontSize is say 12.
It is a bit hard to recreate in a demonstration project. I'll send some images to the support address.
Paul
I have implemented outlining using custom CollapsedText for various nodes. When the nodes are collapsed the text is displayed according to CollapsibleTextStyle.
For this style, the FontFamilyName, ForeColor, Bold etc settings are used properly when the text is displayed.
FontSize is also used so the text size can be varied. However the text is always rendered within a rectangle that appears to be calculated on a fixed FontSize of 10. The result is clipping if the FontSize is say 12.
It is a bit hard to recreate in a demonstration project. I'll send some images to the support address.
Paul