blob: e59d64d610b2b303b4075b5c9c2635dd8675bfaf [file] [log] [blame]
{ "type": "class",
"qname": "mx.containers.VBox",
"baseClassname": "mx.containers.Box"
,
"description": "The Halo VBox container lays out its children in a single vertical column. You use the <code>&lt;mx:VBox&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;vertical&quot;</code>. <p><b>Note:</b> Adobe recommends that, when possible, you use the Spark containers with VerticalLayout instead of the Halo VBox container.</p> <p>An VBox 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 height is large enough to hold all its children at the default or explicit height of the children, plus any vertical gap between the children, plus the top and bottom padding of the container. The width is the default or explicit width of the widest child, plus the left and right padding of 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:VBox&gt;</code> tag inherits all of the tag attributes of its superclass, except <code>direction</code>, and adds no new tag attributes.</p></p>",
"tags": [
{ "tagName": "includeExample",
"values": ["examples/VBoxExample.mxml"]},
{ "tagName": "see",
"values": ["mx.core.Container", "mx.containers.Box", "mx.containers.HBox"]},
{ "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.VBox",
"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", "BoxDirection.VERTICAL"]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1", "Flash 9", "AIR 1.1", "Flash 9", "AIR 1.1", "Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3", "Flex 3", "Flex 3", "Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0", "3.0", "3.0", "3.0"]} ]}]
}