DCollapsibleCategory.SetPadding

From GMod Wiki

Jump to: navigation, search
Function
Syntax DCollapsibleCategory:SetPadding( Integer padding )
Description:
Sets the internal padding of a DCollapsibleCategory.
Returns: nil
In Object: DCollapsibleCategory
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DCollapsibleCategory.SetPadding]DCollapsibleCategory.SetPadding [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets the padding on a panel.
Used onNewerClient.png
Code
 
 
local DermaPanel = vgui.Create("DCollapsibleCategory")
DermaPanel:SetSize(50, 200)
DermaPanel:SetPos(300,400)
DermaPanel:SetPadding(5)
 
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox