Flexbox docs
This commit is contained in:
19
docs/objects/Flexbox/getSpacing.md
Normal file
19
docs/objects/Flexbox/getSpacing.md
Normal 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())
|
||||
```
|
||||
Reference in New Issue
Block a user