Garry's Mod Wiki

Revision Difference

DGrid:SetCols#513254

<function name="SetCols" parent="DGrid" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Sets the number of columns this panel should have.⤶ ⤶ The <page>DGrid</page> will resize its width to match this value.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="cols" type="number">The desired number of columns</arg>⤶ </args>⤶ </function>⤶ ⤶