class CalendarGridLayout
package feathers.layout
extends EventDispatcher
implements ILayout
Positions weekday label and date buttons in a DatePicker
component.
Events:
openfl.events.Event.CHANGE | Dispatched when a property of the layout changes, which triggers the container to invalidate. |
---|
1.0.0
.See also:
Constructor
Variables
horizontalGap:Float
The horizontal space, in pixels, between each two adjacent items in the layout.
In the following example, the layout's horizontal gap is set to 20 pixels:
layout.horizontalGap = 20.0;
1.0.0
.paddingBottom: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;
1.0.0
.paddingLeft: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;
1.0.0
.paddingRight: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;
1.0.0
.paddingTop: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;
1.0.0
.verticalGap:Float
The vertical space, in pixels, between each two adjacent items in the layout.
In the following example, the layout's vertical gap is set to 20 pixels:
layout.verticalGap = 20.0;
1.0.0
.Methods
layout(items:Array<DisplayObject>, measurements:Measurements, ?result:LayoutBoundsResult):LayoutBoundsResult
See also:
setGap(value:Float):Void
Sets both horizontal and vertical gap properties to the same value.
1.0.0
.See also:
setPadding(value:Float):Void
Sets all four padding properties to the same value.
1.0.0
.See also: