Optionalalignwhere children line up across the layout; see UIPanelAlign
OptionalautoResize the panel to fit its laid out content: the height of a column or
a grid, the width of a row, and the other side of a column or a row too
unless align is "stretch". Ignored by a scrolling panel.
OptionalblockingWhether the panel stops pointer events from reaching what is behind it: clicks, releases and hover on the panel itself, and the wheel over a scrolling panel. Widgets inside the panel still get their events.
Keep it true for a dialog. Set it false for a frame that only
decorates, such as a HUD box over a playfield that still takes clicks.
OptionalbobHow far the panel floats up and down, in pixels; 0 leaves it still.
See UIPanel#bobAmplitude.
OptionalbobHow long one full up and down float takes, in milliseconds. See UIPanel#bobPeriod.
Optionalborderthe colour of the border drawn around the edge; null for none
Optionalborderthe border's thickness, in pixels, drawn inside the edge
Optionalcolumnsthe number of cells in each row of a "grid" layout
OptionaldraggableLet the player move the panel by dragging it. It is moved by its title or its background, never through a widget on it; a scrolling panel is moved by its title and frame only, as a drag on its content scrolls. The panel comes to the front of its container when pressed.
OptionalfillThe background colour; null leaves it transparent.
Use this, not backgroundColor: a Container's backgroundColor
clears the whole screen to that colour.
Optionalgapthe space between children in a layout, in pixels
the panel's height, in pixels
OptionalhoverThe scale the widget is drawn at under the pointer, or while it has
the keyboard and gamepad focus, such as 1.05. 1 turns it off.
Optionallayouthow the children are placed; see UIPanelLayout
Optionaloncalled each time the content scrolls, with the new offsets in pixels
OptionalpaddingThe space between the content and the panel's frame, in pixels: inside the border or the skin's insets, and below the title.
OptionalpressThe scale the widget is drawn at while held down, such as 0.92.
1 turns it off.
Optionalradiusthe corner radius, in pixels; 0 is square. The fill, the border and
the shadow all follow it.
OptionalscrollWhich ways the content scrolls when it does not fit: with the mouse wheel over the panel, and by dragging the content, with momentum.
Optionalscrollbarthe colour of the scrollbar, shown while the content does not fit
Optionalshadowhow far the shadow's soft edge spreads, in pixels; 0 is a sharp edge
OptionalshadowThe colour of a drop shadow under the panel; null for none. Its
alpha sets how dark the shadow is, e.g. "#00000066".
Optionalshadowhow far right the shadow falls, in pixels; negative goes left
Optionalshadowhow far down the shadow falls, in pixels; negative goes up
Optionalskindraw the background from an atlas region, as a nine-slice; a
fillColor set as well is drawn over it
Optionaltitlea title, centred in a band at the top; the content starts below it
Optionaltitlethe title's colour
Optionaltitlethe title's font: a CSS font family, or the name of a loaded bitmap font
Optionaltitlethe title's text height, in pixels; the title band is 1.6 times this
the panel's width, in pixels
The settings a UIPanel takes. Only
widthandheightare required; with nothing else the panel is an invisible, blocking box that holds children.