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.

Issue Tracker: 2576

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

DB GetPage 8
Generate Html 3
SaveChanges (1) 16
Render Body 0
Render Sidebar 13