DPanelList.SetAutoSize

From GMod Wiki

Jump to: navigation, search
Function
Syntax DPanelList:SetAutoSize( Boolean )
Description:
Automatic Size of a DPanelList.
Returns: nil
In Object: DPanelList
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DPanelList.SetAutoSize]DPanelList.SetAutoSize [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionAutomatic Size of DermaPanel.
Used onNewerClient.png
Code
 
 
local DermaPanel = vgui.Create("DPanelList")
DermaPanel:SetPos(300,400)
DermaList:SetAutoSize(true)
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox