Garry's Mod Wiki

Panel:InvalidateParent

Panel:InvalidateParent

  Panel:InvalidateParent( boolean layoutNow = false )

Description

Calls Panel:InvalidateLayout on the panel's parent. This function will silently fail if the panel has no parent.

This will cause the parent panel to re-layout, calling PANEL:PerformLayout.

Internally sets LayingOutParent to true on this panel, and will silently fail if it is already set.

Arguments

1 boolean layoutNow = false
If true, the re-layout will occur immediately, otherwise it will be performed in the next frame.

Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7