Optionalname: stringOptionalisVertical: booleanOptionalspacing: numberOptionalwidth: string | numberOptionalheight: string | numberOptionalcolor: stringOptionalbackground: stringName the panel is known by, which control.getControlByName finds it by
When true, children stack top to bottom; when false, left to right
Gap between neighboring children, in pixels
OptionalwidthWidth as a pixel string or a fraction; give it for a vertical panel and leave it out for a horizontal one, which sizes from its children
OptionalheightHeight as a pixel string or a fraction; give it for a horizontal panel and leave it out for a vertical one, which sizes from its children
CSS color of the panel's text and border; the default is fully transparent
CSS color behind the children; the default is a translucent black so the panel can be seen
Feeds
babylon.gui.stackPanel.createStackPanel: the name, direction, spacing, optional sizes and colors of a panel that lines its children up.