DNotify.SetAlignment

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:SetAlignment( integer )
Description:
Sets the alignment of elements.
Returns: nil
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DNotify.SetAlignment]DNotify.SetAlignment [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets a SetAlignment for the Panel.
Used onNewerClient.png
Code
local Label = vgui.Create( "DNotify" , DermaPanel)
Label:SetAlignment(1)
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox