Garry's Mod Wiki

Panel:GetTextInset

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.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 3
Generate Html 5
SaveChanges (1) 11
Render Body 0
Render Sidebar 12