Implementation of Nils' UI work for updated theming, functionality and style for the editors suite

This commit is contained in:
Areloch 2023-09-08 22:44:18 -05:00
parent dc1d6e7d9d
commit 33f35d35d4
908 changed files with 15381 additions and 3065 deletions

View file

@ -49,6 +49,28 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
canSave = "1";
Visible = "1";
hovertime = "1000";
new GuiBitmapButtonCtrl(GHLogo) {
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
Profile = "ToolsGuiButtonProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "8 2";
Extent = "24 24";
MinExtent = "24 24";
canSave = "1";
Visible = "1";
Command = "";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Torque3D";
hovertime = "1000";
bitmapAsset = "ToolsModule:menu_logo";
groupNum = "0";
buttonType = "PushButton";
useMouseEvents = "0";
};
new GuiStackControl(GuiEditorToolbarStack) {
stackingType = "Horizontal";
@ -60,8 +82,8 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
dynamicPos = "0";
changeChildSizeToFit = "0";
changeChildPosition = "1";
position = "0 0";
extent = "885 32";
position = "36 2";
extent = "885" SPC getWord(EditorGuiToolbar.extent, 1) -2;
minExtent = "16 16";
horizSizing = "right";
vertSizing = "bottom";
@ -75,8 +97,8 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
canSaveDynamicFields = "0";
new GuiBitmapButtonCtrl(GHWorldEditor) {
bitmapAsset = "ToolsModule:world_image";
bitmapMode = "Stretched";
bitmapAsset = "ToolsModule:world_n_image";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "0";
buttonType = "RadioButton";
@ -97,8 +119,8 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl(GHGuiEditor) {
bitmapAsset = "ToolsModule:gui_image";
bitmapMode = "Stretched";
bitmapAsset = "ToolsModule:gui_n_image";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "0";
buttonType = "RadioButton";
@ -119,7 +141,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:playbutton_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "0";
buttonType = "PushButton";
@ -141,7 +163,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
BitmapAsset = "ToolsModule:settings_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
useModifiers = "0";
useStates = "1";
@ -166,15 +188,17 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:separator_h_image";
bitmapAsset = "ToolsModule:separator_xt_h_image";
bitmapMode = "Centered";
wrap = "0";
isContainer = "0";
profile = "ToolsGuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "130 3";
extent = "2 26";
extent = "9 26";
minExtent = "1 1";
canSave = "1";
visible = "1";
@ -182,36 +206,43 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
canSaveDynamicFields = "0";
internalName = AssetBrowserBtn;
Enabled = "1";
isContainer = "0";
Profile = "ToolsGuiButtonProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "98 3";
Extent = "29 27";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
Command = "AssetBrowser.toggleDialog();";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Asset Browser";
hovertime = "750";
bitmapAsset = "ToolsModule:menuGrid_image";
bitmapMode = "Stretched";
buttonType = "PushButton";
groupNum = "0";
bitmapAsset = "ToolsModule:assetBrowser_n_image";
bitmapMode = "Centered";
autoFitExtents = "0";
useModifiers = "0";
useStates = "1";
masked = "0";
groupNum = "-1";
buttonType = "ToggleButton";
useMouseEvents = "0";
};
position = "98 3";
Extent = "33 27";
minExtent = "8 8";
horizSizing = "right";
vertSizing = "bottom";
profile = "ToolsGuiButtonProfile";
visible = "1";
active = "1";
Command = "AssetBrowser.toggleDialog();";
tooltipProfile = "ToolsGuiToolTipProfile";
tooltip = "Open the Asset Browser";
hovertime = "1000";
isContainer = "0";
internalName = "AssetBrowserBtn";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
Enabled = "1";
Profile = "ToolsGuiDefaultProfile";
position = "160 3";
Extent = "2 26";
Extent = "9 26";
MinExtent = "1 1";
bitmapAsset = "ToolsModule:separator_h_image";
bitmapAsset = "ToolsModule:separator_xt_h_image";
bitmapMode = "Centered";
};
new GuiPopUpMenuCtrl(GuiEditorContentList) {
maxPopupHeight = "200";
@ -266,14 +297,15 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:separator_h_image";
bitmapAsset = "ToolsModule:separator_xt_h_image";
bitmapMode = "Centered";
wrap = "0";
isContainer = "0";
profile = "ToolsGuiDefaultProfile";
horizSizing = "right";
vertSizing = "center";
position = "307 3";
extent = "2 26";
extent = "9 26";
minExtent = "1 1";
canSave = "1";
visible = "1";
@ -283,7 +315,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl(GuiEditorSnapCheckBox) {
bitmapAsset = "ToolsModule:snap_grid_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "ToggleButton";
@ -304,7 +336,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl(GuiEditorEdgeSnapping_btn) {
bitmapAsset = "ToolsModule:edgesnap_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "ToggleButton";
@ -312,10 +344,10 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
isContainer = "0";
profile = "ToolsGuiButtonProfile";
horizSizing = "right";
vertSizing = "center";
vertSizing = "center";
position = "31 0";
extent = "29 27";
minExtent = "21 21";
minExtent = "21 21";
canSave = "1";
visible = "1";
command = "GuiEditor.toggleEdgeSnap();";
@ -326,7 +358,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl(GuiEditorCenterSnapping_btn) {
bitmapAsset = "ToolsModule:centersnap_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "ToggleButton";
@ -334,10 +366,10 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
isContainer = "0";
profile = "ToolsGuiButtonProfile";
horizSizing = "right";
vertSizing = "center";
vertSizing = "center";
position = "62 0";
extent = "29 27";
minExtent = "21 21";
minExtent = "21 21";
canSave = "1";
visible = "1";
command = "GuiEditor.toggleCenterSnap();";
@ -346,25 +378,25 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:separator_h_image";
wrap = "0";
isContainer = "0";
profile = "ToolsGuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "415 3";
extent = "2 26";
minExtent = "1 1";
canSave = "1";
visible = "1";
tooltipProfile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:separator_xt_h_image";
wrap = "0";
isContainer = "0";
profile = "ToolsGuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "415 3";
extent = "9 26";
minExtent = "1 1";
canSave = "1";
visible = "1";
tooltipProfile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:align_left_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -375,7 +407,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
vertSizing = "bottom";
position = "0 0";
extent = "29 27";
minExtent = "21 21";
minExtent = "21 21";
canSave = "1";
visible = "1";
command = "GuiEditor.Justify(0);";
@ -386,7 +418,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:vertical_center_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -408,7 +440,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:align_right_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -430,7 +462,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:align_top_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -441,7 +473,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
vertSizing = "bottom";
position = "0 0";
extent = "29 27";
minExtent = "21 21";
minExtent = "21 21";
canSave = "1";
visible = "1";
command = "GuiEditor.Justify(3);";
@ -452,7 +484,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:horizontal_center_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -474,7 +506,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:align_bottom_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -494,41 +526,25 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:separator_h_image";
wrap = "0";
isContainer = "0";
profile = "ToolsGuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "582 3";
extent = "2 26";
minExtent = "1 1";
canSave = "1";
visible = "1";
tooltipProfile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:separator_h_image";
wrap = "0";
isContainer = "0";
profile = "ToolsGuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "639 3";
extent = "2 26";
minExtent = "1 1";
canSave = "1";
visible = "1";
tooltipProfile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:separator_xt_h_image";
wrap = "0";
isContainer = "0";
profile = "ToolsGuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "582 3";
extent = "9 26";
minExtent = "1 1";
canSave = "1";
visible = "1";
tooltipProfile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:send_to_back_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -550,7 +566,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:bring_to_front_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -570,9 +586,25 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:separator_xt_h_image";
wrap = "0";
isContainer = "0";
profile = "ToolsGuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "639 3";
extent = "9 26";
minExtent = "1 1";
canSave = "1";
visible = "1";
tooltipProfile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:distribute_horizontal_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -594,7 +626,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:distribute_vertical_n_image";
bitmapMode = "Stretched";
bitmapMode = "Centered";
autoFitExtents = "0";
groupNum = "-1";
buttonType = "PushButton";
@ -823,6 +855,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
new GuiPanel() {
position = "0 0";
extent = "222 337";
Profile = "ToolsGuiPaneProfile";
new GuiTextEditCtrl( GuiEditorTreeFilter ) {
position = "2 4";
@ -997,7 +1030,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
Profile = "GuiInspectorFieldInfoMLTextProfile";
HorizSizing = "width";
VertSizing = "top";
position = "0 349";
position = "8 349";
Extent = "213 13";
MinExtent = "8 2";
canSave = "1";
@ -1066,6 +1099,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
new GuiPanel() {
position = "0 0";
extent = "222 337";
Profile = "ToolsGuiPaneProfile";
new GuiTextEditCtrl( GuiEditorProfilesTreeFilter ) {
position = "2 4";
@ -1303,7 +1337,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
Profile = "GuiInspectorFieldInfoMLTextProfile";
HorizSizing = "width";
VertSizing = "top";
position = "0 349";
position = "8" SPC getWord(GuiEditorSidebar.extent, 1) - 38;
Extent = "213 13";
MinExtent = "8 2";
canSave = "1";
@ -1318,7 +1352,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:delete_n_image";
bitmapAsset = "ToolsModule:reset_icon_n_image";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
@ -1337,7 +1371,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:delete_n_image";
bitmapAsset = "ToolsModule:copy_btn_n_image";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
@ -1356,7 +1390,7 @@ $guiContent = new GuiControl(GuiEditorGui, EditorGuiGroup) {
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
bitmapAsset = "ToolsModule:delete_n_image";
bitmapAsset = "ToolsModule:iconNew_image";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";

View file

@ -768,22 +768,22 @@ function GuiEditorResList::init( %this )
// Non-widescreen formats.
%this.add( "640x480 (VGA, 4:3)", 640 );
%this.add( "800x600 (SVGA, 4:3)", 800 );
%this.add( "1024x768 (XGA, 4:3)", 1024 );
%this.add( "1280x1024 (SXGA, 4:3)", 1280 );
%this.add( "1600x1200 (UXGA, 4:3)", 1600 );
%this.add( " 640 x 480 ( VGA, 4:3 ) ", 640 );
%this.add( " 800 x 600 ( SVGA, 4:3 ) ", 800 );
%this.add( " 1024 x 768 ( XGA, 4:3 ) ", 1024 );
%this.add( " 1280 x 1024 ( SXGA, 4:3 ) ", 1280 );
%this.add( " 1600 x 1200 ( UXGA, 4:3 ) ", 1600 );
// Widescreen formats.
%this.add( "1280x720 (WXGA, 16:9)", 720 );
%this.add( "1600x900 (HD+, 16:9)", 900 );
%this.add( "1920x1080 (FHD, 16:9)", 1080 );
%this.add( "2560x1440 (QHD, 16:9)", 1440 );
%this.add( "3840x2160 (4K UHD, 16:9)", 2160 );
%this.add( "1440x900 (WXGA+, 16:10)", 900 );
%this.add( "1680x1050 (WSXGA+, 16:10)", 1050 );
%this.add( "1920x1200 (WUXGA, 16:10)", 1200 );
%this.add( " 1280 x 720 ( WXGA, 16:9 ) ", 720 );
%this.add( " 1600 x 900 ( HD+, 16:9 ) ", 900 );
%this.add( " 1920 x 1080 ( FHD, 16:9 ) ", 1080 );
%this.add( " 2560 x 1440 ( QHD, 16:9 ) ", 1440 );
%this.add( " 3840 x 2160 ( 4K UHD, 16:9 ) ", 2160 );
%this.add( " 1440 x 900 ( WXGA+, 16:10 ) ", 900 );
%this.add( " 1680 x 1050 ( WSXGA+, 16:10 ) ", 1050 );
%this.add( " 1920 x 1200 ( WUXGA, 16:10 ) ", 1200 );
}
//---------------------------------------------------------------------------------------------
@ -913,7 +913,7 @@ function GuiEditorTabBook::onTabSelected( %this, %text, %index )
%sidebar-->button3.setVisible( true );
%sidebar-->button4.setVisible( true );
%sidebar-->button4.setBitmap( "ToolsModule:iconDelete_image" );
%sidebar-->button4.setBitmap( "ToolsModule:delete_n_image" );
%sidebar-->button4.command = "GuiEditor.deleteSelection();";
%sidebar-->button4.tooltip = "Delete Selected Control(s)";
@ -928,11 +928,11 @@ function GuiEditorTabBook::onTabSelected( %this, %text, %index )
%sidebar-->button3.setVisible( true );
%sidebar-->button4.setVisible( true );
%sidebar-->button4.setBitmap( "ToolsModule:iconDelete_image" );
%sidebar-->button4.setBitmap( "ToolsModule:delete_n_image" );
%sidebar-->button4.command = "GuiEditor.showDeleteProfileDialog( GuiEditorProfilesTree.getSelectedProfile() );";
%sidebar-->button4.tooltip = "Delete Selected Profile";
%sidebar-->button3.setBitmap( "ToolsModule:new_n_image" );
%sidebar-->button3.setBitmap( "ToolsModule:iconNew_image" );
%sidebar-->button3.command = "GuiEditor.createNewProfile( \"Unnamed\" );";
%sidebar-->button3.tooltip = "Create New Profile with Default Values";
@ -1113,7 +1113,7 @@ function GuiEditorGui::initSettings( %this )
EditorSettings.endGroup();
EditorSettings.beginGroup( "Help" );
EditorSettings.setDefaultValue( "documentationURL", "http://www.garagegames.com/products/torque-3d/documentation/user" ); //RDTODO: make this point to Gui Editor docs when available
EditorSettings.setDefaultValue( "documentationURL", "https://docs.torque3d.org" ); //RDTODO: make this point to Gui Editor docs when available
// Create a path to the local documentation. This is a bit of guesswork here.
// It assumes that the project is located in a folder of the SDK root directory

View file

@ -69,7 +69,7 @@ function GuiEditCanvas::onCreateMenu(%this)
%this.menuBar = new GuiMenuBar(GuiEditorMenubar)
{
dynamicItemInsertPos = 3;
extent = "1024 20";
extent = getWord($pref::Video::mode, 0) SPC "29";
minExtent = "320 20";
horizSizing = "width";
profile = "ToolsGuiMenuBarProfile";
@ -207,10 +207,16 @@ function GuiEditCanvas::onCreateMenu(%this)
item[1] = "Offline User Guid..." TAB "" TAB "gotoWebPage( GuiEditor.documentationLocal );";
item[2] = "Offline Reference Guide..." TAB "" TAB "shellExecute( GuiEditor.documentationReference );";
item[3] = "-";
item[4] = "Torque 3D Public Forums..." TAB "" TAB "gotoWebPage( \"http://www.garagegames.com/community/forums/73\" );";
item[5] = "Torque 3D Private Forums..." TAB "" TAB "gotoWebPage( \"http://www.garagegames.com/community/forums/63\" );";
item[4] = "Torque 3D Forums..." TAB "" TAB "gotoWebPage( \"https://torque3d.org/forums/\" );";
};
};
// Workaround (for some reason it doesn't size to the width of the canvas)
// TODO: After a canvas resize it still messes up the width
%position = %this.menubar.position.x SPC %this.menubar.position.y;
%extent = getWord($pref::Video::mode, 0) SPC %this.menubar.extent.y;
%this.menubar.resize(%position.x, %position.y, %extent.x, %extent.y);
%this.menuBar.attachToCanvas( Canvas, 0 );
}

View file

@ -154,7 +154,7 @@ function GuiEditorInspectFields::onInspectorDiscardFieldModification( %this )
function GuiEditorInspectFields::onFieldSelected( %this, %fieldName, %fieldTypeStr, %fieldDoc )
{
GuiEditorFieldInfo.setText( "<font:Arial Bold:14>" @ %fieldName @ "<font:Arial Italic:14> (" @ %fieldTypeStr @ ") " NL "<font:Arial:14>" @ %fieldDoc );
GuiEditorFieldInfo.setText( "<font:" @ $Gui::fontTypeBold @ ":16>" @ %fieldName @ "<font:Arial Italic:14> (" @ %fieldTypeStr @ ") " NL "<font:Arial:14>" @ %fieldDoc );
}
//---------------------------------------------------------------------------------------------

View file

@ -418,7 +418,7 @@ function GuiEditorProfilesTree::setSelectedProfile( %this, %profile )
function GuiEditorProfileInspector::onFieldSelected( %this, %fieldName, %fieldTypeStr, %fieldDoc )
{
GuiEditorProfileFieldInfo.setText( "<font:Arial:14>" @ %fieldName @ "<font:Arial Italic:14> (" @ %fieldTypeStr @ ") " NL "<font:Arial:14>" @ %fieldDoc );
GuiEditorProfileFieldInfo.setText( "<font:" @ $Gui::fontTypeBold @ ":16>" @ %fieldName @ "<font:" @ $Gui::fontTypeItalic @ ":16> (" @ %fieldTypeStr @ ") " NL "<font:" @ $Gui::fontTypeRegular @ ":16>" @ %fieldDoc );
}
//---------------------------------------------------------------------------------------------