Garry's Mod Wiki

Panel:GetDockPadding

  number, number, number, number Panel:GetDockPadding()

Description

Returns the docked padding of the panel. (set by Panel:DockPadding)

Returns

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