Garry's Mod Wiki

Revision Difference

Panel:GWEN_SetSize#550786

<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>⤶ <realm>Client and Menu</realm>⤶ <args> <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>