I am making new gadget class. I have a text related issue:
Imagine a button gadget with a locked width. Then the user changes the text to something longer than the button is wide. How do I clip the text off at the end of the button (inner width)? So it doesn't keep printing past the gadget.
IGraphics->Text() would be great if it printed by PIXEL length instead of CHARACTERS length.
My box is not static,though. The width/height can change with window resizing.