[flexcoders] How to adjust the height of VBox dynamically

2008-11-11 Thread sony antony
Hi,

could anyone give me a solution to adjust the height of the VBox so that it 
will fit the content according to the content's size.
This VBOx contains two HBoxes which in turn contain label, text, textinput and 
date field, and when this page that conatin the VBox is called one HBox at one 
time will be visible.

Thanks and Regards

Sony


  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/



RE: [flexcoders] How to adjust the height of VBox dynamically

2008-11-11 Thread Gordon Smith
That's what a VBox does by default when you don't specify its height... it 
makes itself high enough to show all of its children.

If you don't want one of its children to contribute to its height, set 
includeInLayout to false on that child.

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sony 
antony
Sent: Tuesday, November 11, 2008 9:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to adjust the height of VBox dynamically


Hi,

could anyone give me a solution to adjust the height of the VBox so that it 
will fit the content according to the content's size.
This VBOx contains two HBoxes which in turn contain label, text, textinput and 
date field, and when this page that conatin the VBox is called one HBox at one 
time will be visible.

Thanks and Regards

Sony

Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/