DCollapsibleCategory.SetPadding
From GMod Wiki
Function | |
Syntax | DCollapsibleCategory:SetPadding( Integer padding ) |
Description: | |
Sets the internal padding of a DCollapsibleCategory. | |
Returns: | nil |
In Object: | DCollapsibleCategory |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DCollapsibleCategory.SetPadding]DCollapsibleCategory.SetPadding [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the padding on a panel. |
---|---|
Used on | |
Code | local DermaPanel = vgui.Create("DCollapsibleCategory") DermaPanel:SetSize(50, 200) DermaPanel:SetPos(300,400) DermaPanel:SetPadding(5) |
Output | N/A |