Updated Scrollbar (markdown)

Robert Jelic
2022-04-02 15:19:00 +02:00
parent c69c0b2348
commit 3f0ad4c6d2

@@ -45,7 +45,7 @@ the default max value is always the width (if vertical) or height (if horizontal
````lua
local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
local aScrollbar = mainFrame:addScrollbar("myFirstScrollbar"):setBarType("horizontal"):show()
local aScrollbar = mainFrame:addScrollbar("myFirstScrollbar"):setMaxValue(123):show()
````
**args:** "vertical" or "horizontal"<br>
**args:** any number<br>
**returns:** the object<br>