mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
fill in the validated variables
This commit is contained in:
parent
fa760fa746
commit
f633ef3a3d
184 changed files with 1359 additions and 1216 deletions
|
|
@ -96,7 +96,7 @@ void GuiTextCtrl::initPersistFields()
|
|||
addField( "textID", TypeString, Offset( mInitialTextID, GuiTextCtrl ),
|
||||
"Maps the text of this control to a variable used in localization, rather than raw text.");
|
||||
|
||||
addField( "maxLength", TypeS32, Offset( mMaxStrLen, GuiTextCtrl ),
|
||||
addFieldV( "maxLength", TypeRangedS32, Offset( mMaxStrLen, GuiTextCtrl ), &CommonValidators::PositiveInt,
|
||||
"Defines the maximum length of the text. The default is 1024." );
|
||||
|
||||
Parent::initPersistFields();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue