ControlBar layout container

You use the ControlBar container with a Panel or TitleWindow container to hold components that can be shared by the other children in the Panel or TitleWindow container. For a product catalog, the ControlBar container can hold the Flex controls to specify quantity and to add an item to a shopping cart, as the following example shows:


ControlBar container

A ControlBar container has the following default sizing characteristics:

Property

Default value

Default size

The height is the default or explicit height of the tallest child, plus the top and bottom padding of the container.

The width is large enough to hold all of its children at the default or explicit width of the children, plus any horizontal gap between the children, plus the left and right padding of the container.

Default padding

10 pixels for the top, bottom, left, and right values.

For complete reference information, see ControlBar in Adobe Flex 2 Language Reference.

Subtopics

Creating a ControlBar container

Flex 2

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/2/docs/00000658.html