Garry's Mod Wiki


  DLabel:SetHighlight( boolean highlight )


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.


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