class flixel.addons.ui.FlxUIList extends FlxUIGroup
Available on all platforms
... * @author
Class Fields
Instance Fields
function new(?X:Float = 0, ?Y:Float = 0, ?Widgets:Array<IFlxUIWidget> = null, ?W:Float = 0, ?H:Float = 0, ?MoreString:String = '<X> more...', ?Stacking:Int = 1, ?Spacing:Float = 0, ?PrevButtonOffset:FlxPoint = null, ?NextButtonOffset:FlxPoint = null, ?PrevButton:IFlxUIButton = null, ?NextButton:IFlxUIButton = null):Void
Creates a scrollable list of widgets *
X | X position of the list * |
Y | Y position of the list * |
?Widgets | List of widgets themselves (optional) * |
W | Width of the invisible "canvas" available for putting widgets in before we have to scroll to see more * |
H | Height of the invisible "canvas" available for putting widgets in before we have to scroll to see more * |
?MoreString | String that says " |
?Stacking | How to stack the widgets? STACKHORIZONTAL or STACKVERTICAL * |
?Spacing | Space between widgets * |
PrevButtonOffset | Offset for Scroll - Button * |
NextButtonOffset | Offset for Scroll + Button * |
PrevButton | Button to Scroll - * |
NextButton | Button to Scroll + |