Panel/InvalidateChildren

From Garry's Mod
Jump to: navigation, search
 Panel:InvalidateChildren( )

Description

Invalidates the layout of this panel object and all its children. This will cause these objects to re-layout immediately, calling PANEL:PerformLayout. If you want to perform the layout in the next frame, you will have loop manually through all children, and call Panel:InvalidateLayout on each.

Arguments

boolean recursive=false

If true, the method will recursively invalidate the layout of all children. Otherwise, only immediate children are affected.
Personal tools
Navigation