blob: b313b4610c1322340c0f74f371e0d497d7ad13e3 [file] [log] [blame]
{ "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 &lt;mx:HBox&gt;\\n &lt;mx:Image source=&quot;Logo.jpg&quot;/&gt;\\n &lt;mx:Label text=&quot;Company XYZ&quot;/&gt;\\n &lt;mx:Spacer width=&quot;100%&quot;/&gt;\\n &lt;mx:Button label=&quot;Close&quot;/&gt;\\n &lt;/mx:HBox&gt;\\n </pre> <p>The <code>&lt;mx:Spacer&gt;</code> tag inherits all of the tag attributes of its superclass, and adds no new tag attributes.</p> <pre>\\n &lt;mx:Spacer/&gt;\\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": []}
]
}