Garry's Mod Wiki

Garry's Mod Wiki

  PANEL:OnSizeChanged( number newWidth, number newHeight )

Description

Called just after the panel size changes.

All size functions will return the new values when this hook is called.

Changing the panel size in this hook will cause an infinite loop!

Arguments

1 number newWidth
The new width of the panel
2 number newHeight
The new height of the panel

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...