class flixel.addons.ui.FlxUIDropDownHeader extends FlxUIGroup
import flixel.addons.ui.FlxUIDropDownMenu;
Available on all platforms
Header for a FlxUIDropDownMenu
Instance Fields
function new(?Width:Int = 120, ?Background:FlxSprite = null, ?Text:FlxUIText = null, ?Button:FlxUISpriteButton = null):Void
Creates a new dropdown header to be used in a FlxUIDropDownMenu. * *
Width | Width of the dropdown - only relevant when no back sprite was specified * |
Back | Optional sprite to be placed in the background * |
Text | Optional text that displays the current value * |
Button | Optional button that toggles the dropdown list |