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
352 B
352 B
setTextOffset
Description
Sets the input text offset
Parameters
numbertext offset - The offset you want it to be
Returns
objectThe object in use
Usage
- Creates a default input and changes the text offset to 2
local mainFrame = basalt.createFrame()
local aInput = mainFrame:addInput():setTextOffset(2)