The layout used by the VDividedBox component.

Events:

openfl.events.Event.CHANGE
Available since

1.0.0

.

See also:

Constructor

new()

Creates a new VDividedBoxLayout object.

Available since

1.0.0

.

Variables

@:flash.propertycustomItemHeights:Array<Null<Float>>

Set automatically by VDividedBox. Do not set this manually.

Available since

1.0.0

.

@:flash.propertyfallbackFluidIndex:Int

Set automatically by VDividedBox. Do not set this manually.

Available since

1.0.0

.

@:flash.propertyhorizontalAlign:HorizontalAlign

How the content is positioned horizontally (along the x-axis) within the container.

The following example aligns the container's content to the right:

layout.horizontalAlign = RIGHT;
Available since

1.0.0

.

See also:

@:flash.propertypaddingBottom:Float

The space, in pixels, between the parent container's bottom edge and its content.

In the following example, the layout's bottom padding is set to 20 pixels:

layout.paddingBottom = 20.0;
Available since

1.0.0

.

@:flash.propertypaddingLeft:Float

The space, in pixels, between the parent container's left edge and its content.

In the following example, the layout's left padding is set to 20 pixels:

layout.paddingLeft = 20.0;
Available since

1.0.0

.

@:flash.propertypaddingRight:Float

The space, in pixels, between the parent container's right edge and its content.

In the following example, the layout's right padding is set to 20 pixels:

layout.paddingRight = 20.0;
Available since

1.0.0

.

@:flash.propertypaddingTop:Float

The space, in pixels, between the parent container's top edge and its content.

In the following example, the layout's top padding is set to 20 pixels:

layout.paddingTop = 20.0;
Available since

1.0.0

.

Methods

layout(items:Array<DisplayObject>, measurements:Measurements, ?result:LayoutBoundsResult):LayoutBoundsResult

setPadding(value:Float):Void

Sets all four padding properties to the same value.

Available since

1.0.0

.

See also: