mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +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
|
|
@ -92,7 +92,7 @@ void GuiFrameSetCtrl::initPersistFields()
|
|||
addField( "rows", TypeS32Vector, Offset(mRowOffsets, GuiFrameSetCtrl),
|
||||
"A vector of row offsets (determines the height of each row)." );
|
||||
|
||||
addField( "borderWidth", TypeS32, Offset(mFramesetDetails.mBorderWidth, GuiFrameSetCtrl),
|
||||
addFieldV( "borderWidth", TypeRangedS32, Offset(mFramesetDetails.mBorderWidth, GuiFrameSetCtrl), &CommonValidators::PositiveInt,
|
||||
"Width of interior borders between cells in pixels." );
|
||||
|
||||
addField( "borderColor", TypeColorI, Offset(mFramesetDetails.mBorderColor, GuiFrameSetCtrl),
|
||||
|
|
@ -111,7 +111,7 @@ void GuiFrameSetCtrl::initPersistFields()
|
|||
"If true, row and column offsets are automatically scaled to match the "
|
||||
"new extents when the control is resized." );
|
||||
|
||||
addField( "fudgeFactor", TypeS32, Offset(mFudgeFactor, GuiFrameSetCtrl),
|
||||
addFieldV( "fudgeFactor", TypeRangedS32, Offset(mFudgeFactor, GuiFrameSetCtrl), &CommonValidators::PositiveInt,
|
||||
"Offset for row and column dividers in pixels" );
|
||||
|
||||
Parent::initPersistFields();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue