updated param and return headers
This commit is contained in:
@@ -11,8 +11,8 @@ sets the text which gets displayed.
|
||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||
local aInput = mainFrame:addLabel("myFirstLabel"):setText("Hello lovely basalt community!"):show()
|
||||
```
|
||||
**arguments:** string text<br>
|
||||
**returns:** self<br>
|
||||
#### Parameters: string text<br>
|
||||
#### Returns: self<br>
|
||||
|
||||
## setFontSize
|
||||
sets the font size of that text.
|
||||
@@ -20,8 +20,8 @@ sets the font size of that text.
|
||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||
local aInput = mainFrame:addLabel("myFirstLabel"):setText("Hello"):setFontSize(2):show()
|
||||
```
|
||||
**arguments:** number size (1 = default, 2 = big, 3 = bigger, 4 = huge)<br>
|
||||
**returns:** self<br>
|
||||
#### Parameters: number size (1 = default, 2 = big, 3 = bigger, 4 = huge)<br>
|
||||
#### Returns: self<br>
|
||||
|
||||
## getFontSize
|
||||
returns the fontsize
|
||||
@@ -30,5 +30,5 @@ local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||
local aInput = mainFrame:addLabel("myFirstLabel"):setText("Hello"):setFontSize(2):show()
|
||||
basalt.debug(aInput:getFontSize()) -- returns 2
|
||||
```
|
||||
**arguments:** <br>
|
||||
**returns:** number<br>
|
||||
#### Parameters: <br>
|
||||
#### Returns: number<br>
|
||||
|
||||
Reference in New Issue
Block a user