Garry's Mod Wiki

Panel:SetTextSelectionColors

  Panel:SetTextSelectionColors( table textColor, table backgroundColor )

Description

Sets text selection colors of a RichText element.

Arguments

1 table textColor
The Color to set for selected text.
2 table backgroundColor
The Color to set for selected text background.