Panel/GetTextInset

From Garry's Mod
Jump to: navigation, search
 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

number

The left margin of the text, in pixels.

Returns

number

The top margin of the text, in pixels.
Personal tools
Navigation