{ "type": "class", | |
"qname": "mx.controls.Spacer", | |
"baseClassname": "mx.core.UIComponent" | |
, | |
"description": "The Spacer control helps you lay out children within a parent container. Although the Spacer control does not draw anything, it does allocate space for itself within its parent container. <p>In the following example, a flexible Spacer control is used to push the Button control to the right, so that the Button control is aligned with the right edge of the HBox container:</p> <pre>\\n <mx:HBox>\\n <mx:Image source="Logo.jpg"/>\\n <mx:Label text="Company XYZ"/>\\n <mx:Spacer width="100%"/>\\n <mx:Button label="Close"/>\\n </mx:HBox>\\n </pre> <p>The <code><mx:Spacer></code> tag inherits all of the tag attributes of its superclass, and adds no new tag attributes.</p> <pre>\\n <mx:Spacer/>\\n </pre>", | |
"tags": [ | |
{ "tagName": "includeExample", | |
"values": ["examples/SpacerExample.mxml"]}, | |
{ "tagName": "mxml", | |
"values": []}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"members": [ | |
{ "type": "method", | |
"qname": "mx.controls.Spacer", | |
"namespace": "", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Constructor.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 9", "AIR 1.1"]}, | |
{ "tagName": "productversion", | |
"values": ["Flex 3"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "", | |
"params": []} | |
] | |
} |