Garry's Mod Wiki

Revision Difference

DSizeToContents:SetSizeY#560613

<function name="SetSizeY" parent="DSizeToContents" type="panelfunc"> <description>Sets whether the <page>DSizeToContents</page> panel should size to contents vertically. This is `true` by default.</description> <realm>Client and Menu</realm> <args> <arg name="" type="number">Whether the panel should size to contents vertically.</arg> <arg name="sizeY" type="boolean">Whether the panel should size to contents vertically.</arg> </args> </function>