Garry's Mod Wiki

Panel:Center

  Panel:Center()

Description

Centers the panel on its parent.

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