blob: 8a3d2e13de58c67c38356da9adbb8c89fc356a96 [file] [log] [blame]
{ "type": "class",
"qname": "mx.containers.HBox",
"baseClassname": "mx.containers.Box"
,
"description": "The Halo HBox container lays out its children in a single horizontal row. You use the <code>&lt;mx:HBox&gt;</code> tag instead of the <code>&lt;mx:Box&gt;</code> tag as a shortcut to avoid having to set the <code>direction</code> property to <code>&quot;horizontal&quot;</code>. <p><b>Note:</b> Adobe recommends that, when possible, you use the Spark containers with HorizontalLayout instead of the Halo HBox container.</p> <p>An HBox container has the following default sizing characteristics:</p> <table class=&quot;innertable&quot;> <tr> <th>Characteristic</th> <th>Description</th> </tr> <tr> <td>Default size</td> <td>The width is large enough to hold all 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. The height is the default or explicit height of the tallest child, plus the top and bottom padding for the container. </td> </tr> <tr> <td>Default padding</td> <td>0 pixels for the top, bottom, left, and right values.</td> </tr> </table> <p>The <code>&lt;mx:HBox&gt;</code> tag inherits all of the tag attributes of its superclass, except <code>direction</code>, and adds no new tag attributes.</p>",
"tags": [
{ "tagName": "includeExample",
"values": ["examples/HBoxExample.mxml"]},
{ "tagName": "see",
"values": ["mx.core.Container", "mx.containers.Box", "mx.containers.VBox"]},
{ "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.containers.HBox",
"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": []}
,
{ "type": "accessor",
"access": "read-write",
"return": "String",
"qname": "direction",
"namespace": "public",
"bindable": [],
"details": ["override"],
"deprecated": {},
"description": "The direction in which this Box container lays out its children. Possible MXML values are <code>&quot;horizontal&quot;</code> and <code>&quot;vertical&quot;</code>. Possible values in ActionScript are <code>BoxDirection.HORIZONTAL</code> and <code>BoxDirection.VERTICAL</code>.",
"tags": [
{ "tagName": "default",
"values": ["BoxDirection.VERTICAL", "BoxDirection.VERTICAL", "BoxDirection.VERTICAL"]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1", "Flash 9", "AIR 1.1", "Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3", "Flex 3", "Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0", "3.0", "3.0"]} ]}]
}