{ "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><mx:HBox></code> tag instead of the <code><mx:Box></code> tag as a shortcut to avoid having to set the <code>direction</code> property to <code>"horizontal"</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="innertable"> <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><mx:HBox></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>"horizontal"</code> and <code>"vertical"</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"]} ]}] | |
} |