Garry's Mod Wiki

DLabel:SetHighlight

DLabel:SetHighlight( boolean highlight )

Description

We advise against using this. It may be changed or removed in a future update. You really should use DLabel:SetTextColor.

Sets the color of the text to the highlight text color defined in the skin.

For the default Derma skin this makes the label red.

See also DLabel:SetBright and DLabel:SetDark.

You should only consider using this if you are using background elements that are not manually painted and are using the skin colors.

Arguments

1 boolean highlight
true to set the label's color to skins's text highlight color, false otherwise.

Page Links


Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 34
Generate Html 8
SaveChanges (1) 11
Render Body 0
Render Sidebar 10