DPanelList.SetPadding
From GMod Wiki
Function | |
Syntax | DPanelList:SetPadding( Integer padding ) |
Description: | |
Sets the internal padding of a DPanelList. | |
Returns: | nil |
In Object: | DPanelList |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DPanelList.SetPadding]DPanelList.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("DPanelList") DermaPanel:SetSize(50, 200) DermaPanel:SetPos(300,400) DermaPanel:SetPadding(5) |
Output | N/A |