DTextEntry/SetFont

From Garry's Mod
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