A LavishGUI 2 panel element is an element with a standard Border.
Defining a panel element
A panel element is a Element with the addition of standard Border properties, and may have "children".
|Panel element properties
||An Object or Array containing a list of child Elements. If an Object is used, its keys will be used as the names for the children.
||A Brush definition specifying the brush for the standard Border
||A Brush definition specifying the brush for the background inside the Border
||A Thickness definition specifying the thickness for the standard Border
- A panel element, with a 1 pixel thick white border around a black background containing a textblock
"children": ["My panel has some text!"]
"color": [ 1.0, 1.0, 1.0 ]
"color": [ 0, 0, 0 ]
LavishGUI 2 LavishScript Object Types