| return
|
function
|
description
|
| PanelSize
|
getMinSize()
|
Returns the minimum panel size.
|
| PanelSize
|
getMaxSize()
|
Returns the maximum panel size.
|
| Vec2
|
getSize()
|
Returns the panel size.
|
| Vec2
|
getScale()
|
Returns the panel scale.
|
| PanelSizeType
|
getSizeType()
|
Returns the panel size type.
|
| bool
|
getFitChildren()
|
Returns if the panel has any auto size that uses a children width or height.
|
|
|
setSizeType(PanelSizeType type)
|
Set size type
|
|
|
setScale(Vec2 scale)
|
Set panel scale.
|
|
|
setSize(Vec2 size)
|
Set panel size.
|
|
|
setMinSize(PanelSize panelSize)
|
Set panel min panelSize.
|
|
|
setMaxSize(PanelSize panelSize)
|
Set panel max panelSize.
|
|
|
setFitChildren(bool fitWidth, bool fitHeight)
|
Set panel to auto fit children on width and height.
|