Garry's Mod Wiki

Revision Difference

DVScrollBar:BarScale#553440

<function name="BarScale" parent="DVScrollBar" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>No Description</description>⤶ <description>Returns the scale of the scroll bar based on the difference in size between the visible "window" into the canvas that is being scrolled. Should be used after <page>DVScrollBar:SetUp</page>.</description>⤶ <realm>Client and Menu</realm> <rets> <ret name="" type="number"></ret>⤶ <ret name="" type="number">The scale of the scrollbar.</ret>⤶ </rets> </function>