From 9e4b50b2df11d759483ec5aec3b40cc1f8c90f91 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Fri, 27 May 2022 21:51:39 +0200 Subject: [PATCH] Updated Object (markdown) --- Object.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Object.md b/Object.md index f839768..2c1ea71 100644 --- a/Object.md +++ b/Object.md @@ -127,7 +127,7 @@ basalt.debug(aButton:getAbsolutePosition()) -- returns 7,5 (frame coords + own c **returns:** self
## 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()