Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 24ms

DB GetPage 5
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6