Panel.PerformLayout

From GMod Wiki

(Redirected from DPanel.PerformLayout)
Jump to: navigation, search
Event Hook
Hook NamePerformLayout
SyntaxPANEL:PerformLayout( )
DescriptionThis function is called any time the layout is invalidated. This can occur whenever the panel changes size, or when it is manually triggered with Panel:InvalidateLayout. This event HAS to reposition all of the child elements parented to the panel every time it is called. If it isn't they will all be moved to 0,0.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Panel.PerformLayout]Panel.PerformLayout [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Examples

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox