Files
Basalt/docs/objects/Pane.md
Robert Jelic 01412b4c55 docs
2022-07-17 22:37:32 +02:00

568 B

Panes are very simple sizeable background objects.

The following list is only available to panes:
Remember Pane also inherits from Object

Pane doesn't have any custom functionallity. If you want to change the color/position or size, just check out the object wikipage.

Example:

local mainFrame = basalt.createFrame()
local aPane = mainFrame:addPane()
aPane:setSize(30, 10)
aPane:setBackground(colors.yellow)
aPane:show()
<pane width="30" height="10" bg="yellow" />