Updated Scrollbar (markdown)

Robert Jelic
2022-04-02 15:16:33 +02:00
parent 2438cd706e
commit c69c0b2348

@@ -41,8 +41,7 @@ local aScrollbar = mainFrame:addScrollbar("myFirstScrollbar"):setBarType("horizo
**returns:** the object<br>
## setMaxValue
the default max value is always the width (if vertical) or height (if horizontal), if you change the max value the bar will always calculate the value based of his width or height - example: you set the max value to 100, the width is 10 and it is a vertical bar, this means if the bar is on top, the value is 10, if the bar goes to
the second line, it is 20 and so on.
the default max value is always the width (if vertical) or height (if horizontal), if you change the max value the bar will always calculate the value based of his width or height - example: you set the max value to 100, the height is 10 and it is a vertical bar, this means if the bar is on top, the value is 10, if the bar goes one below, it is 20 and so on.
````lua
local mainFrame = NyoUI.createFrame("myFirstFrame"):show()