Garry's Mod Wiki

DLabel:SetDark

  DLabel:SetDark( boolean dark )

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 dark text color defined in the skin.

See also DLabel:SetBright and DLabel:SetHighlight.

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 dark
Whenever to set the text to dark or not.