DVScrollBar/SetUp

From Garry's Mod
Jump to: navigation, search
 DVScrollBar:SetUp( )

DescriptionPanelFunc

Sets up the scrollbar for use.

The scrollbar will automatically disable itself if the total height of the canvas is lower than the height of the panel that holds the canvas during this function call.

Arguments

number barSize

The size of the panel that holds the canvas, basically size of "1 page".

Arguments

number cavasSize

The total size of the canvas, this typically is the bigger number.
Personal tools
Navigation