Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 4
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 12