This has been driving me crazy for a long time now.
<textarea text="blah blah blah"/>
The above works fine, the outer panel's size perfectly fits
But if the mxml starts out with only the outer panel, and
then I add the inner panel as result of some user event at a later
time, then outer panel will not resize to fit. It will be really
small and just add some scrollbars when the new content is added.
I've tried several combinations of the following on the
various elements with no luck...
Doing these things seem to have no effect. Arrgh.. please
Thanks Greg, you are right. It does work. I guess my problem
was related to the fact that I had a more complex hierarchy of
containers, including an HDivideBox which apparently will not
resize. So taking out layout=absolute, and cleaning up my container
hierarchy seems to have fixed the problem. Your answer got me back
on the right track.