Garry's Mod Wiki

Panel:GWEN_SetMargin

Panel:GWEN_SetMargin

  Panel:GWEN_SetMargin( table margins )

Description

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.

Arguments

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.

Special Pages


Wikis

?

Render Time: 57ms

DB GetPage 37
Generate Html 4
SaveChanges (1) 7
Render Body 0
Render Sidebar 7