Updated Scrollbar (markdown)
@@ -45,7 +45,7 @@ the default max value is always the width (if vertical) or height (if horizontal
|
|||||||
|
|
||||||
````lua
|
````lua
|
||||||
local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
|
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>
|
**returns:** the object<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user