Updated Pane (markdown)

Robert Jelic
2022-05-20 19:07:59 +02:00
parent 0e86d49913
commit 570d6f2241

10
Pane.md

@@ -4,3 +4,13 @@ The following list is only available to panes: <br>
Remember pane also inherits from [object](https://github.com/NoryiE/basalt/wiki/Object):
Pane doesn't have any custom functionallity. If you want to change the color/position or size, just check out the [object](https://github.com/NoryiE/basalt/wiki/Object) wikipage.
##Example:
````lua
local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aPane = mainFrame:addPane("myFirstBackground")
aPane:setSize(30, 10)
aPane:setBackground(colors.yellow)
aPane:show()
````