Garry's Mod Wiki

Panel:SetUnderlineFont

Panel:SetUnderlineFont( string fontName )

Description

Sets the underlined font for use by clickable text in a RichText. See also Panel:InsertClickableTextStart

This function will only work on RichText panels.

Arguments

1 string fontName
The name of the font.

See here for a list of existing fonts. Alternatively, use surface.CreateFont to create your own custom font.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

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