From 614f45385992ef95990aae85df34191e12bb7e65 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Sun, 29 May 2022 21:21:54 +0200 Subject: [PATCH] Updated Scrollbar (markdown) --- Scrollbar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scrollbar.md b/Scrollbar.md index 4f74182..6fd1925 100644 --- a/Scrollbar.md +++ b/Scrollbar.md @@ -38,7 +38,7 @@ local aScrollbar = mainFrame:addScrollbar("myFirstScrollbar"):setBarType("horizo **returns:** self
## 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 on its 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. +the default max value is always the width (if horizontal) or height (if vertical), if you change the max value the bar will always calculate the value based on its 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 = basalt.createFrame("myFirstFrame"):show()