Revision Difference
PANEL:PerformLayout#546296
<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.
Called whenever the panels' layout needs to be performed again. This means all child panels must be re-positioned to fit the possibly new size of this panel.
⤶
This can be triggered in numerous ways:⤶
* <page>Panel:InvalidateLayout</page> was called this or previous frame (depending on the argument)⤶
* A child element was added to this panel (TODO: Verify me)⤶
* The size of this panel has changed⤶
<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>