From 3f0ad4c6d2032ff47387436cd32854455387de87 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Sat, 2 Apr 2022 15:19:00 +0200 Subject: [PATCH] Updated Scrollbar (markdown) --- Scrollbar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scrollbar.md b/Scrollbar.md index d43d25e..e7e0d10 100644 --- a/Scrollbar.md +++ b/Scrollbar.md @@ -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"
+**args:** any number
**returns:** the object