Garry's Mod Wiki

Revision Difference

Panel:InvalidateChildren#550797

<function name="InvalidateChildren" parent="Panel" type="classfunc"> <description>Invalidates the layout of this panel object and all its children. This will cause these objects to re-layout immediately, calling <page>PANEL:PerformLayout</page>. If you want to perform the layout in the next frame, you will have loop manually through all children, and call <page>Panel:InvalidateLayout</page> on each.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="recursive" type="boolean" default="false">If `true`, the method will recursively invalidate the layout of all children. Otherwise, only immediate children are affected.</arg> </args> </function>