Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...