Panel/SetTextInset

From Garry's Mod
Jump to: navigation, search
 Panel:SetTextInset( )

Description

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

Arguments

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.

Arguments

number insetY

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