Garry's Mod Wiki

Panel:GetDockMargin

  number, number, number, number Panel:GetDockMargin()

Description

Returns the docked margins of the panel. (set by Panel:DockMargin)

Returns

1 number
Left margin.
2 number
Top margin.
3 number
Right margin.
4 number
Bottom margin.