Garry's Mod Wiki


DTileLayout:SetBaseSize( number size )


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.


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

Page Links

Special Pages



Render Time: 27ms

Session 0
DB GetPage 2
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 12