hi,
try something like below
<mx:VBox height="100%" width="100%">
<mx:Spacer height="100%"/>
<mx:HBox height="100" width="100%" backgroundColor="red">
</mx:HBox>
<mx:Spacer height="100%"/>
<mx:HBox height="100" width="100%" backgroundColor="green">
</mx:HBox>
<mx:Spacer height="100%"/>
</mx:VBox>
Kalpesh Mahida
On Tue, Mar 3, 2009 at 5:02 PM, Carvalhar <[email protected]> wrote:
>
> hi,
>
> you need to add a event listner to stage for the Resize event, then re-
> calculate all the size.
>
> Or you can add minwidth/minHeigth to your components, so they can have
> heigth/width values in percentage until a limit that yourself defined.
>
> bye
> - Show quoted text -
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---