Garry's Mod Wiki

Revision Difference

DSizeToContents:SetSizeX#560612

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