Garry's Mod Wiki

Panel:InvalidateChildren

  Panel:InvalidateChildren( boolean recursive = false )

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

1 boolean recursive = false
If true, the method will recursively invalidate the layout of all children. Otherwise, only immediate children are affected.