DTextEntry/SetFont

From Garry's Mod
Revision as of 06:41, 13 November 2016 by NeatNit (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 DTextEntry:SetFont( )

Contents

DescriptionPanelFunc

Changes the font of the DTextEntry.

Arguments

string font

The name of the font to be changed to.

Examples

Example

Restores the original font the the DTextEntry.

local textentry = vgui.Create("DTextEntry")
textentry:SetFont("DermaDefault")


Personal tools
Navigation