Garry's Mod Wiki

Revision Difference

Panel:Center#560780

<function name="Center" parent="Panel" type="classfunc"> <file line="165-L170">lua/includes/extensions/client/panel.lua</file>⤶ <description>Centers the panel on its parent. <note>This will center the panel using the current size of the panel so should be called AFTER setting or adjusting the size of the panel</note> </description> <realm>Client and Menu</realm> </function>