1.7 stuff
The master branch was reverted to 1.7 because it was very unstable (bugs and stuff that wasn't mentioned on the documentation page yet) - features will come back with 2.0 - fixed debug window - fixed flexbox not sending drag events to it's children - small docs updates for 1.7 - removed the examples because the are outdated
This commit is contained in:
9
docs/objects/Input/getOffset.md
Normal file
9
docs/objects/Input/getOffset.md
Normal file
@@ -0,0 +1,9 @@
|
||||
## getOffset
|
||||
|
||||
### Description
|
||||
|
||||
Returns the current offset
|
||||
|
||||
### Returns
|
||||
|
||||
1. `number` the offset
|
||||
9
docs/objects/Input/getTextOffset.md
Normal file
9
docs/objects/Input/getTextOffset.md
Normal file
@@ -0,0 +1,9 @@
|
||||
## getTextOffset
|
||||
|
||||
### Description
|
||||
|
||||
Returns the current text offset
|
||||
|
||||
### Returns
|
||||
|
||||
1. `number` the text offset
|
||||
22
docs/objects/Input/setOffset.md
Normal file
22
docs/objects/Input/setOffset.md
Normal file
@@ -0,0 +1,22 @@
|
||||
## setOffset
|
||||
|
||||
### Description
|
||||
|
||||
Sets the input offset
|
||||
|
||||
### Parameters
|
||||
|
||||
1. `number` offset - The offset you want it to be
|
||||
|
||||
### Returns
|
||||
|
||||
1. `object` The object in use
|
||||
|
||||
### Usage
|
||||
|
||||
* Creates a default input and changes the offset to 2
|
||||
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame()
|
||||
local aInput = mainFrame:addInput():setOffset(2)
|
||||
```
|
||||
22
docs/objects/Input/setTextOffset.md
Normal file
22
docs/objects/Input/setTextOffset.md
Normal file
@@ -0,0 +1,22 @@
|
||||
## setTextOffset
|
||||
|
||||
### Description
|
||||
|
||||
Sets the input text offset
|
||||
|
||||
### Parameters
|
||||
|
||||
1. `number` text offset - The offset you want it to be
|
||||
|
||||
### Returns
|
||||
|
||||
1. `object` The object in use
|
||||
|
||||
### Usage
|
||||
|
||||
* Creates a default input and changes the text offset to 2
|
||||
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame()
|
||||
local aInput = mainFrame:addInput():setTextOffset(2)
|
||||
```
|
||||
Reference in New Issue
Block a user