DHorizontalScroller.SetOverlap

From GMod Wiki

Jump to: navigation, search
Function
Syntax DHorizontalScroller:SetOverlap( Integer Overlap )
Description:
Sets how much each panel in the DHorizontalScroller will overlap, a negative number adds spacing.
Returns: nil
In Object: DHorizontalScroller
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DHorizontalScroller.SetOverlap]DHorizontalScroller.SetOverlap [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets how much each panel in the DHorizontalScroller will overlap, a negative number adds spacing.
Used onNewerClient.png
Code
 
DHorizontalScroller = vgui.Create("DHorizontalScroller")
DHorizontalScroller:SetOverlap(10))
 
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox