Garry's Mod Wiki

Panel:SetMaximumCharCount

  Panel:SetMaximumCharCount( number maxChar )

Description

Sets the maximum character count this panel should have.

This function will only work on RichText and TextEntry panels and their derivatives.

Arguments

1 number maxChar
The new maximum amount of characters this panel is allowed to contain.