0% found this document useful (0 votes)
199 views1 page

Flex Notes

Application containers can have three layout types: vertical, horizontal, and absolute. Vertical lays out child components from top to bottom in order. Horizontal lays out from left to right. Absolute requires manually defining the location of each child. The Box class is the base for VBox and HBox, with VBox using vertical layout by default and HBox using horizontal layout.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
199 views1 page

Flex Notes

Application containers can have three layout types: vertical, horizontal, and absolute. Vertical lays out child components from top to bottom in order. Horizontal lays out from left to right. Absolute requires manually defining the location of each child. The Box class is the base for VBox and HBox, with VBox using vertical layout by default and HBox using horizontal layout.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

Application container vertical Lays out each child component vertically from the top of the application to the

bottom in the specified order horizontal


Lays out each child component horizontally from the left of the application to the right in the specified order absolute Does no automatic layout, and requires you to explicitly define the location of each child component If the Application components layout property is absolute, each child component must have an x and y coordinate defined; otherwise, the component will be displayed in the (0,0) position.

The Box Class


The Box class is the base class for the VBox and HBox classes: The VBox container renders all child display objects vertically. The HBox container renders all child display objects horizontally. The Application object behaves like a VBox by default (vertical layout), but you can also set it to use absolute or horizontal layout. VBox and HBox flow like HTML, only in one direction.

You might also like