Updated Object (markdown)
@@ -127,7 +127,7 @@ basalt.debug(aButton:getAbsolutePosition()) -- returns 7,5 (frame coords + own c
|
||||
**returns:** self<br>
|
||||
|
||||
## setTextAlign
|
||||
sets the align of the object (as example buttons)
|
||||
sets the text align of the object (for example buttons)
|
||||
````lua
|
||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||
local aButton = mainFrame:addButton("myFirstButton"):setSize(12,3):setTextAlign("right", "center"):setText("Dont't..."):show()
|
||||
|
||||
Reference in New Issue
Block a user