Garry's Mod Wiki

Revision Difference

Panel:SetUnderlineFont#524772

<function name="SetUnderlineFont" parent="Panel" type="classfunc">⤶ <description>⤶ <note>next update</note>⤶ ⤶ Sets the underlined font for use by clickable text in a <page>RichText</page>. See also <page>Panel:InsertClickableTextStart</page>⤶ ⤶ This function will only work on <page>RichText</page> panels.⤶ </description>⤶ <realm>Client</realm>⤶ <added>2020.02.24</added>⤶ <args>⤶ <arg name="fontName" type="string">The name of the font.⤶ ⤶ See <page text="here">Default_Fonts</page> for a list of existing fonts.⤶ Alternatively, use <page>surface.CreateFont</page> to create your own custom font.</arg>⤶ </args>⤶ </function>