DCheckBoxLabel/SetTextColor

From Garry's Mod
Jump to: navigation, search
 DCheckBoxLabel:SetTextColor( )

Contents

DescriptionPanelFunc

Sets the text color for the DCheckBoxLabel.

Arguments

table color

The text color. Uses the Color structure.

Examples

Example

Creates a DCheckBoxLabel and changes the text color to red.

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


Personal tools
Navigation