Garry's Mod Wiki


  Panel:GWEN_SetMargin( table margins )


This is used internally - although you're able to use it you probably shouldn't.

Used by Panel:ApplyGWEN to apply the Margin property to a panel object. This calls Panel:DockMargin.


1 table margins
A four-membered table containing the margins as numbers:
  • number left - The left margin.
  • number top - The top margin.
  • number right - The right margin.
  • number bottom - The bottom margin.