Garry's Mod Wiki


Panel:SetTextInset( number insetX, number insetY )


Sets the left and top text margins of a text-based panel object, such as a DButton or DLabel.


1 number insetX
The left margin for the text, in pixels. This will only affect centered text if the margin is greater than its x-coordinate.
2 number insetY
The top margin for the text, in pixels.

Page Links

Special Pages



Render Time: 55ms

DB GetPage 22
Generate Html 6
SaveChanges (1) 14
Render Body 0
Render Sidebar 10