Laying out your user interface

To lay out a Flex user interface, you typically start by inserting and positioning components in a container that has absolute positioning, and then defining layout constraints for the components so that they adjust automatically when a user resizes the application window.

In some situations, using nested layout containers such as the VBox containers is preferable to using absolute positioning. See Using Layout Containers in Flex 2 Developer's Guide. These situations include the following:

This section contains the following topics:

Related topics


Flex 2.01

Take a survey