Panel/GetTextSize

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

Description

Gets the size of the text within a Label derived panel.

BUG

This can return 0 incorrectly.

Issue Tracker: #2576

Returns

number

The width of the text in the DLabel.

Returns

number

The height of the text in the DLabel.
Personal tools
Navigation