mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-30 09:35:17 +00:00
whitespace
This commit is contained in:
parent
6164f36c47
commit
bcc5459818
50 changed files with 2111 additions and 2111 deletions
|
|
@ -59,21 +59,21 @@ ConsoleDocClass( GuiIconButtonCtrl,
|
|||
"has been clicked.\n\n"
|
||||
|
||||
"@tsexample\n"
|
||||
"new GuiIconButtonCtrl(TestIconButton)\n"
|
||||
"{\n"
|
||||
" buttonMargin = \"4 4\";\n"
|
||||
" iconBitmap = \"art/gui/lagIcon.png\";\n"
|
||||
" iconLocation = \"Center\";\n"
|
||||
" sizeIconToButton = \"0\";\n"
|
||||
" makeIconSquare = \"1\";\n"
|
||||
" textLocation = \"Bottom\";\n"
|
||||
" textMargin = \"-2\";\n"
|
||||
" autoSize = \"0\";\n"
|
||||
" text = \"Lag Icon\";\n"
|
||||
" textID = \"\"STR_LAG\"\";\n"
|
||||
" buttonType = \"PushButton\";\n"
|
||||
" profile = \"GuiIconButtonProfile\";\n"
|
||||
"};\n"
|
||||
"new GuiIconButtonCtrl(TestIconButton)\n"
|
||||
"{\n"
|
||||
" buttonMargin = \"4 4\";\n"
|
||||
" iconBitmap = \"art/gui/lagIcon.png\";\n"
|
||||
" iconLocation = \"Center\";\n"
|
||||
" sizeIconToButton = \"0\";\n"
|
||||
" makeIconSquare = \"1\";\n"
|
||||
" textLocation = \"Bottom\";\n"
|
||||
" textMargin = \"-2\";\n"
|
||||
" autoSize = \"0\";\n"
|
||||
" text = \"Lag Icon\";\n"
|
||||
" textID = \"\"STR_LAG\"\";\n"
|
||||
" buttonType = \"PushButton\";\n"
|
||||
" profile = \"GuiIconButtonProfile\";\n"
|
||||
"};\n"
|
||||
"@endtsexample\n\n"
|
||||
|
||||
"@see GuiControl\n"
|
||||
|
|
@ -130,7 +130,7 @@ void GuiIconButtonCtrl::initPersistFields()
|
|||
addField( "sizeIconToButton", TypeBool, Offset( mFitBitmapToButton, GuiIconButtonCtrl ),"If true, the icon will be scaled to be the same size as the button.\n");
|
||||
addField( "makeIconSquare", TypeBool, Offset( mMakeIconSquare, GuiIconButtonCtrl ),"If true, will make sure the icon is square.\n");
|
||||
addField( "textLocation", TYPEID< TextLocation >(), Offset( mTextLocation, GuiIconButtonCtrl ),"Where to place the text on the control.\n"
|
||||
"Options are 0 (None), 1 (Bottom), 2 (Right), 3 (Top), 4 (Left), 5 (Center).\n");
|
||||
"Options are 0 (None), 1 (Bottom), 2 (Right), 3 (Top), 4 (Left), 5 (Center).\n");
|
||||
addField( "textMargin", TypeS32, Offset( mTextMargin, GuiIconButtonCtrl ),"Margin between the icon and the text.\n");
|
||||
addField( "autoSize", TypeBool, Offset( mAutoSize, GuiIconButtonCtrl ),"If true, the text and icon will be automatically sized to the size of the control.\n");
|
||||
Parent::initPersistFields();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue