Garry's Mod Wiki

Panel:GetTextSize

number, number Panel:GetTextSize()

Description

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

This can return 0 incorrectly.

Returns

1 number
The width of the text in the DLabel.
2 number
The height of the text in the DLabel.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

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