Garry's Mod Wiki

Revision Difference

Panel:GWEN_SetMargin#510985

<function name="GWEN_SetMargin" parent="Panel" type="classfunc">⤶ <description><internal></internal> Used by <page>Panel:ApplyGWEN</page> to apply the `Margin` property to a panel object. This calls <page>Panel:DockMargin</page>.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="margins" type="table">A four-membered table containing the margins as numbers:&#xA;* &lt;page&gt;number&lt;/page&gt; left - The left margin.&#xA;* &lt;page&gt;number&lt;/page&gt; top - The top margin.&#xA;* &lt;page&gt;number&lt;/page&gt; right - The right margin.&#xA;* &lt;page&gt;number&lt;/page&gt; bottom - The bottom margin.</arg>⤶ </args>⤶ </function>⤶ ⤶