Garry's Mod Wiki

Panel:SetTextSelectionColors

  Panel:SetTextSelectionColors( table color, table color )

Just Added

This was just added in the latest version (2023.01.25). It might only be available on the Dev Branch right now.

Description

Sets text selection colors of a RichText element.

Arguments

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