DPanelList.GetAutoSize

From GMod Wiki

Jump to: navigation, search
Function
Syntax DPanelList:GetAutoSize( )
Description:
Gets the Boolean AutoSize in a DPanelList.
Returns: Boolean
In Object: DPanelList
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DPanelList.GetAutoSize]DPanelList.GetAutoSize [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGets the Boolean AutoSize on a panel.
Used onNewerClient.png
Code
 local DermaPanel = vgui.Create("DPanelList")
 DermaPanel:SetSize(200, 200);
 DermaPanel:SetPos(10, 10);
DermaList:SetAutoSize(true)
 
 Msg("Spacing: " DermaPanel:GetAutoSize() .. "\n");
Outputtrue


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox