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

DB GetPage 4
Generate Html 9
SaveChanges (1) 9
Render Body 0
Render Sidebar 11