Garry's Mod Wiki

Revision Difference

DTileLayout:SetBaseSize#515172

<function name="SetBaseSize" parent="DTileLayout" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Sets the size of a single tile. If a child panel is larger than this size, it will occupy several tiles.⤶ ⤶ If you are setting the size of the children properly then you probably don't need to change this.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="size" type="number">The size of each tile. It is recommended you use 2&amp;amp;lt;sup&amp;amp;gt;n&amp;amp;lt;/sup&amp;amp;gt; (`16, 32, 64...`) numbers, and those above `4`, as numbers lower than this will result in many tiles being processed and therefore slow operation.</arg>⤶ </args>⤶ </function>⤶ ⤶