Garry's Mod Wiki

DCheckBoxLabel:SetTextColor

  DCheckBoxLabel:SetTextColor( table color )

Description

Sets the text color for the DCheckBoxLabel.

Arguments

1 table color
The text color. Uses the Color.

Example

Creates a DCheckBoxLabel and changes the text color to red.

local LabelBox = vgui.Create( "DCheckBoxLabel" ) LabelBox:SetTextColor( Color(255,0,0) )