Garry's Mod Wiki

Garry's Mod Wiki

  DTileLayout:SetBaseSize( number size )

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.

Arguments

1 number size
The size of each tile. It is recommended you use 2ⁿ (16, 32, 64...) numbers, and those above 4, as numbers lower than this will result in many tiles being processed and therefore slow operation.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...