Garry's Mod Wiki

Panel:CopyBase

  Panel:CopyBase( Panel srcPanel )

Description

Gets the size, position and dock state of the passed panel object, and applies it to this one.

Arguments

1 Panel srcPanel
The panel to copy the boundary and dock settings from.