Garry's Mod Wiki

Revision Difference

PANEL:PerformLayout#511078

<function name="PerformLayout" parent="PANEL" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called whenever the panels layout was invalidated. This means all child panels must be re-positioned to fit the possibly new size of this panel.⤶ ⤶ <warning>Do **NOT** call this function directly. Use <page>Panel:InvalidateLayout</page> instead!</warning>⤶ </description>⤶ <realm>Client</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="width" type="number">The panels current width.</arg>⤶ <arg name="height" type="number">The panels current height.</arg>⤶ </args>⤶ </function>⤶ ⤶