I am using a GoText control. If i put multiline text in the GoText and then resize the Text box. the box gets resized even smaller than the text boundry and the Text lingers out side the GoText boundry. How to resolve this?
What do you have for properties AutoResizes and AutoRescales (as well as any other properties you are setting)?
I have set the following properties for the GoText:
There is also the Trimming property on GoText…
(The easiest way to play with these options is using Demo1 and the F4 properties window… you can change properties without rebuilding)
You can derive a class from GoText and override DoResize to set a minimum size. The problem becomes this: “in a multiline text object, what is the minimum size?” I guess if you set a minimum wrapping width, the question just becomes “what is the minimum height?”.
Look at CollapsingRecordNode in Demo1 for a sample of how to override DoResize.