Garry's Mod Wiki

Revision Difference

Panel:GWEN_SetSize#517740

<function name="GWEN_SetSize" parent="Panel" type="classfunc"> <description><internal></internal> Used by <page>Panel:ApplyGWEN</page> to apply the `Size` property to a panel object. This calls <page>Panel:SetSize</page>.</description> <realm>Client</realm> <args> <arg name="size" type="table">A two-membered table containing the width and heights as numbers:&#xA;* &lt;page&gt;number&lt;/page&gt; w - The width.&#xA;* &lt;page&gt;number&lt;/page&gt; h - The height.</arg>⤶ <arg name="size" type="table">A two-membered table containing the width and heights as numbers:⤶ * <page>number</page> w - The width.⤶ * <page>number</page> h - The height.</arg>⤶ </args> </function>