Garry's Mod Wiki

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: 28ms

Session 0
DB GetPage 3
Generate Html 4
SaveChanges 9
Render Body 0
Render Sidebar 10