I have an application with very dynamic container and content sizes.
This is the situation:
I have a BorderContainer with a determined size (it expanded to fit into an AIR application container).
I want to put another BorderContainer into this one, and make the child the size of the parent. Remember it's all changing sizes so I don't know when to take the parent's size and apply it to the child.
Or is a layout with content justify going to help me.
I've tried a lot already.
Try setting the width and height to 100%
<group id="borderCtA" width="100%" height="100%">
<group id="borderCtB" width="100%" height="100%">
Thanks. That works for MXML, but I have to do it programmatically, with Actionscript and the % size alternative does not seem to be available.
percentHeight = 100;
percentWidth = 100;