Panel
Base Class: Simple
Derived: ScrollBox
UI.Panel
is the basis for more complex layout. You will usually nest few panels with alternating
Layout.Horizontal
and Layout.Vertical
(do not forget to assign its Layout
property,
it is set to Layout.None
when the panel is created).
Constructors:
Panel()
- Create new panel with layout set toLayout.None
.Panel()
: layout Layout- Create new panel with specified layout.
Instance Properties:
[name string]
: Element - Get contained element by name. (Direct children only.)[index int]
: Element - Get child element by index.Count
: int - Get number of child elements.
Instance Methods: