Garry's Mod Wiki

Garry's Mod Wiki

  number, number Panel:GetTextInset()

Description

Gets the left and top text margins of a text-based panel object, such as a DButton or DLabel. This is set with Panel:SetTextInset.

Returns

1 number
The left margin of the text, in pixels.
2 number
The top margin of the text, in pixels.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...