Updated Scrollbar (markdown)
@@ -5,9 +5,6 @@ Here is a example of how to create a standard scrollbar:
|
|||||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||||
local aScrollbar = mainFrame:addScrollbar("myFirstScrollbar"):show()
|
local aScrollbar = mainFrame:addScrollbar("myFirstScrollbar"):show()
|
||||||
````
|
````
|
||||||
|
|
||||||
This will create a default label with a size 5 width and 1 height on position 1 1 (relative to its parent frame), the default background is colors.gray, the default text color is colors.black. the default bar type is vertical, the default symbol is " " and the default symbol color is colors.lightGray. The default zIndex is 5.
|
|
||||||
|
|
||||||
Here are all possible functions available for scrollbars. Remember scrollbar inherit from [object](https://github.com/NoryiE/Basalt/wiki/Object):
|
Here are all possible functions available for scrollbars. Remember scrollbar inherit from [object](https://github.com/NoryiE/Basalt/wiki/Object):
|
||||||
|
|
||||||
## setSymbol
|
## setSymbol
|
||||||
|
|||||||
Reference in New Issue
Block a user