Flexbox docs

This commit is contained in:
Sabine Lim
2023-05-08 07:00:28 +10:00
parent e2bead28cb
commit c9ff68dd9e
5 changed files with 110 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
## getSpacing
### Description
Returns the space between objects
### Returns
1. `number` Number of pixels of spacing between each object
### Usage
* Creates a default flexbox and prints the default spacing.
```lua
local main = basalt.createFrame()
local flexbox = mainFrame:addFlexbox()
basalt.debug(flexbox:getSpacing())
```