Updated Object (markdown)

Robert Jelic
2022-05-27 21:51:39 +02:00
parent b2d66b5f97
commit 9e4b50b2df

@@ -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()