DTextEntry/SetFont

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{PanelFunc |Description=Changes the font of the DTextEntry. }} {{Arg |type=string |name=font |desc=The name of the font to be changed to. }} {{Example |Description=Restores t...")
 
(testing)
Line 1: Line 1:
{{PanelFunc
+
{{User:NeatNit/Template/InheritedFunc|DLabel}}
|Description=Changes the font of the DTextEntry.
+
}}
+
{{Arg
+
|type=string
+
|name=font
+
|desc=The name of the font to be changed to.
+
}}
+
{{Example
+
|Description=Restores the original font the the DTextEntry.
+
|Code=local textentry = vgui.Create("DTextEntry")
+
textentry:SetFont("DermaDefault")
+
}}
+

Revision as of 06:40, 13 November 2016

This page has been nominated for deletion.
Personal tools
Navigation