Panel
This function creates a panel widget. A panel is a blank non-interactive widget used to group other widgets.
You can set the script boolean value
border to true to enable a visible border and increase the widget padding.
Syntax
- static Widget* Panel(const int x, const int y, const int width, const int height, Widget* parent)
Parameters
- x: X position of the widget, in logical units.
- y: Y position of the widget, in logical units.
- width: width of the widget, in logical units.
- height: height of the widget, in logical units.
Returns
Returns a new panel.