DPanelList.SetPadding

From GMod Wiki

Jump to: navigation, search
Function
Syntax DPanelList:SetPadding( Integer padding )
Description:
Sets the internal padding of a DPanelList.
Returns: nil
In Object: DPanelList
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DPanelList.SetPadding]DPanelList.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("DPanelList")
DermaPanel:SetSize(50, 200)
DermaPanel:SetPos(300,400)
DermaPanel:SetPadding(5)
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox