mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Merge pull request #1313 from Eikelenboom/development
World Editor GUI adjustments & corrections
This commit is contained in:
commit
0c54a787dc
51 changed files with 137 additions and 103 deletions
|
|
@ -71,7 +71,7 @@ new VPathEditor(EVPathEditor) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "EditorGui.setEditor( WorldEditorInspectorPlugin );";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Verve Path Editor";
|
||||
text = ":: Verve Path Editor";
|
||||
|
||||
new GuiContainer(){
|
||||
profile = GuiDefaultProfile;
|
||||
|
|
@ -218,7 +218,7 @@ new VPathEditor(EVPathEditor) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "EditorGui.setEditor( WorldEditorPlugin );";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Verve Path - Properties";
|
||||
text = ":: Verve Path - Properties";
|
||||
|
||||
new GuiContainer(){ //Node Properties
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ function EVPathEditor::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = VPathEditorTreeWindow;
|
||||
%fluidWindow = VPathEditorOptionsWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ $guiContent = new GuiControl(AssetBrowser) {
|
|||
};
|
||||
};
|
||||
new GuiWindowCtrl(AssetBrowserWindow) {
|
||||
text = ":: Asset Browser";
|
||||
text = ":: Asset Browser";
|
||||
resizeWidth = "0";
|
||||
resizeHeight = "1";
|
||||
canMove = "1";
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ $guiContent = new GuiConvexEditorCtrl(ConvexEditorGui) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "EditorGui.setEditor( WorldEditorInspectorPlugin );";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Convex Shape Editor";
|
||||
text = ":: Convex Shape Editor";
|
||||
|
||||
new GuiContainer(){
|
||||
profile = "ToolsGuiDefaultProfile";
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ function ConvexEditorGui::maxSize(%this, %window)
|
|||
%this.resizing = false;
|
||||
|
||||
%fluidWindow = ConvexEditorOptionsWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
|
||||
%position = Canvas.extent.x - %fluidWindow.extent.x SPC %top;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ $guiContnt = new GuiControl(ConvexEditorOptions)
|
|||
extent = "800 600";
|
||||
|
||||
new GuiWindowCollapseCtrl(ConvexEditorOptionsWindow) {
|
||||
text = ":: Sketch Tool - Properties";
|
||||
text = ":: Sketch Tool - Properties";
|
||||
resizeWidth = "1";
|
||||
resizeHeight = "1";
|
||||
canMove = "1";
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ $guiContent = new GuiControl() {
|
|||
minSize = "50 50";
|
||||
closeCommand = "DatablockEditorInspectorWindow.setVisible(false);";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Datablock Editor - Data";
|
||||
text = ":: Datablock Editor - Data";
|
||||
Margin = "8 8 8 8";
|
||||
Padding = "0 0 0 0";
|
||||
AnchorTop = "1";
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ $guiContent = new GuiControl(DatablockEditorGui) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "DatablockInspectorTreeWindow.setVisible(false);";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Datablock Editor - Library";
|
||||
text = ":: Datablock Editor - Library";
|
||||
Margin = "8 8 8 8";
|
||||
Padding = "0 0 0 0";
|
||||
AnchorTop = "1";
|
||||
|
|
|
|||
|
|
@ -824,7 +824,7 @@ function DatablockEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = DatablockEditorTreeWindow;
|
||||
%fluidWindow = DatablockEditorInspectorWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ $guiContent = new GuiDecalEditorCtrl(DecalEditorGui) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "EditorGui.setEditor( WorldEditorInspectorPlugin );";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Decal Editor";
|
||||
text = ":: Decal Editor";
|
||||
|
||||
new GuiTabBookCtrl(DecalEditorTabBook) {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
@ -517,7 +517,7 @@ $guiContent = new GuiDecalEditorCtrl(DecalEditorGui) {
|
|||
minSize = "152 235";
|
||||
closeCommand = "EPainter.parentGroup.setVisible(false);";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Decal Properties";
|
||||
text = ":: Decal Properties";
|
||||
|
||||
new GuiScrollCtrl(DecalEditorTemplateProperties){
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ function DecalEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = DecalEditorWindow;
|
||||
%fluidWindow = DecalPreviewWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
@ -486,7 +486,7 @@ function DecalEditorTabBook::onTabSelected( %this, %text, %idx )
|
|||
{
|
||||
if( %idx == 0)
|
||||
{
|
||||
DecalPreviewWindow.text = ":: Decal Editor - Template Properties";
|
||||
DecalPreviewWindow.text = ":: Decal Editor - Template Properties";
|
||||
DecalEditorLibraryProperties.setVisible(true);
|
||||
DecalEditorTemplateProperties.setVisible(false);
|
||||
RetargetDecalButton.setVisible( true );
|
||||
|
|
@ -496,7 +496,7 @@ function DecalEditorTabBook::onTabSelected( %this, %text, %idx )
|
|||
}
|
||||
else
|
||||
{
|
||||
DecalPreviewWindow.text = ":: Decal Editor - Instance Properties";
|
||||
DecalPreviewWindow.text = ":: Decal Editor - Instance Properties";
|
||||
RetargetDecalButton.setVisible( false );
|
||||
NewDecalButton.setVisible( false );
|
||||
SaveDecalsButton.setVisible( false );
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ $guiContent = new ForestEditorCtrl(ForestEditorGui,EditorGuiGroup) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Forest Editor - Pallete";
|
||||
text = ":: Forest Editor - Pallete";
|
||||
Margin = "0 0 0 0";
|
||||
Padding = "0 0 0 0";
|
||||
AnchorTop = "1";
|
||||
|
|
@ -525,7 +525,7 @@ $guiContent = new ForestEditorCtrl(ForestEditorGui,EditorGuiGroup) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Forest Editor - Properties";
|
||||
text = ":: Forest Editor - Properties";
|
||||
Margin = "0 0 0 0";
|
||||
Padding = "0 0 0 0";
|
||||
AnchorTop = "1";
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ function ForestEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = ForestEditorPalleteWindow;
|
||||
%fluidWindow = ForestEditorPropertiesWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ $guiContent = new GuiControl(EditorSettingsWindow,EditorGuiGroup) {
|
|||
canSaveDynamicFields = "1";
|
||||
|
||||
new GuiWindowCollapseCtrl(ESettingsWindow) {
|
||||
text = ":: Editor Settings";
|
||||
text = ":: Editor Settings";
|
||||
resizeWidth = "0";
|
||||
resizeHeight = "0";
|
||||
canMove = "1";
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
canSaveDynamicFields = "0";
|
||||
|
||||
new GuiWindowCtrl(GuiPickerDlg) {
|
||||
text = "Color Picker";
|
||||
text = ":: Color Picker";
|
||||
resizeWidth = "0";
|
||||
resizeHeight = "0";
|
||||
canMove = "1";
|
||||
|
|
@ -128,9 +128,9 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "New";
|
||||
position = "306 22";
|
||||
position = "305 22";
|
||||
extent = "26 14";
|
||||
profile = "GuiDefaultProfile";
|
||||
profile = "ToolsGuiTextProfile";
|
||||
};
|
||||
new GuiBitmapBorderCtrl(){ // new old color
|
||||
position = "292 37";
|
||||
|
|
@ -162,9 +162,9 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Old";
|
||||
position = "310 138";
|
||||
position = "307 137";
|
||||
extent = "26 14";
|
||||
profile = "GuiDefaultProfile";
|
||||
profile = "ToolsGuiTextProfile";
|
||||
};
|
||||
new GuiBitmapBorderCtrl(){ // Color Text Fields
|
||||
position = "291 165";
|
||||
|
|
@ -185,7 +185,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
|
||||
new GuiControl() { // rgb
|
||||
position = "4 0";
|
||||
extent = "52 75";
|
||||
extent = "52 80";
|
||||
minExtent = "8 2";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
|
|
@ -209,7 +209,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
anchorBottom = "0";
|
||||
anchorLeft = "1";
|
||||
anchorRight = "0";
|
||||
position = "5 6";
|
||||
position = "1 6";
|
||||
extent = "8 18";
|
||||
minExtent = "8 2";
|
||||
horizSizing = "right";
|
||||
|
|
@ -228,12 +228,12 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
};
|
||||
new GuiTextEditCtrl(Channel_R_Val) { // Red Channal
|
||||
text = "0";
|
||||
maxLength = "4";
|
||||
maxLength = "6";
|
||||
position = "14 6";
|
||||
extent = "34 18";
|
||||
extent = "34 28";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
profile = "GuiTextEditProfileNumbersOnly";
|
||||
profile = "ToolsGuiTextEditProfile";
|
||||
class = "ColorPickerRGBClass";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
tooltip = "Red Channel color value.";
|
||||
|
|
@ -247,7 +247,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
anchorBottom = "0";
|
||||
anchorLeft = "1";
|
||||
anchorRight = "0";
|
||||
position = "4 29";
|
||||
position = "0 29";
|
||||
extent = "8 18";
|
||||
minExtent = "8 2";
|
||||
horizSizing = "right";
|
||||
|
|
@ -266,12 +266,12 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
};
|
||||
new GuiTextEditCtrl(Channel_G_Val) { // Green Channal
|
||||
text = "0";
|
||||
maxLength = "4";
|
||||
maxLength = "6";
|
||||
position = "14 29";
|
||||
extent = "34 18";
|
||||
extent = "34 28";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
profile = "GuiTextEditProfileNumbersOnly";
|
||||
profile = "ToolsGuiTextEditProfile";
|
||||
class = "ColorPickerRGBClass";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
tooltip = "Green Channel color value.";
|
||||
|
|
@ -285,7 +285,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
anchorBottom = "0";
|
||||
anchorLeft = "1";
|
||||
anchorRight = "0";
|
||||
position = "5 52";
|
||||
position = "1 52";
|
||||
extent = "8 18";
|
||||
minExtent = "8 2";
|
||||
horizSizing = "right";
|
||||
|
|
@ -304,12 +304,12 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
};
|
||||
new GuiTextEditCtrl(Channel_B_Val) { // Blue Channal
|
||||
text = "0";
|
||||
maxLength = "4";
|
||||
maxLength = "6";
|
||||
position = "14 52";
|
||||
extent = "34 18";
|
||||
extent = "34 28";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
profile = "GuiTextEditProfileNumbersOnly";
|
||||
profile = "ToolsGuiTextEditProfile";
|
||||
class = "ColorPickerRGBClass";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
tooltip = "Blue Channel color value.";
|
||||
|
|
@ -341,7 +341,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
anchorBottom = "0";
|
||||
anchorLeft = "1";
|
||||
anchorRight = "0";
|
||||
position = "5 6";
|
||||
position = "1 6";
|
||||
extent = "8 18";
|
||||
minExtent = "8 2";
|
||||
horizSizing = "right";
|
||||
|
|
@ -365,7 +365,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
extent = "34 18";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
profile = "GuiTextEditProfileNumbersOnly";
|
||||
profile = "ToolsGuiTextEditProfile";
|
||||
class = "ColorPickerHSBClass";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
tooltip = "Hue Channel color value.";
|
||||
|
|
@ -404,7 +404,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
anchorBottom = "0";
|
||||
anchorLeft = "1";
|
||||
anchorRight = "0";
|
||||
position = "4 29";
|
||||
position = "0 29";
|
||||
extent = "8 18";
|
||||
minExtent = "8 2";
|
||||
horizSizing = "right";
|
||||
|
|
@ -428,7 +428,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
extent = "34 18";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
profile = "GuiTextEditProfileNumbersOnly";
|
||||
profile = "ToolsGuiTextEditProfile";
|
||||
class = "ColorPickerHSBClass";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
tooltip = "Saturation Channel color value.";
|
||||
|
|
@ -467,12 +467,12 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
anchorBottom = "0";
|
||||
anchorLeft = "1";
|
||||
anchorRight = "0";
|
||||
position = "5 52";
|
||||
position = "1 52";
|
||||
extent = "8 18";
|
||||
minExtent = "8 2";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
profile = "ToolsGuiTextProfile";
|
||||
profile = "ToolsGuiTextProfile";
|
||||
visible = "1";
|
||||
active = "1";
|
||||
Clickable = "1";
|
||||
|
|
@ -491,7 +491,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
extent = "34 18";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
profile = "GuiTextEditProfileNumbersOnly";
|
||||
profile = "ToolsGuiTextEditProfile";
|
||||
class = "ColorPickerHSBClass";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
tooltip = "Brightness Channel color value. Aka value or lightness.";
|
||||
|
|
@ -668,7 +668,7 @@ $guiContent = new GuiColorPickerCtrl(ColorPickerDlg,EditorGuiGroup) {
|
|||
extent = "34 18";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
profile = "GuiTextEditProfileNumbersOnly";
|
||||
profile = "ToolsGuiTextEditProfile";
|
||||
altCommand = "$ThisControl.getParent().updateFromChild($ThisControl); updateColorPickerAlpha( $ThisControl.getValue() );";
|
||||
internalName = "TextEdit";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ function ESettingsWindow::toggleEditorSettings(%this)
|
|||
ESettingsWindowList.sort(0);
|
||||
|
||||
%this.mode = "Editor";
|
||||
ESettingsWindow.text = ":: Editor Settings";
|
||||
ESettingsWindow.text = ":: Editor Settings";
|
||||
|
||||
ESettingsWindowList.setSelectedById( 1 );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ $guiContent = new GuiWindowCollapseCtrl() {
|
|||
minSize = "50 50";
|
||||
closeCommand = "$ThisControl.onClose();";
|
||||
edgeSnap = "1";
|
||||
text = ":: Object Inspector";
|
||||
text = ":: Object Inspector";
|
||||
margin = "0 0 0 0";
|
||||
padding = "0 0 0 0";
|
||||
anchorTop = "1";
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ $guiContent = new GuiControl(postFXEditor) {
|
|||
canSaveDynamicFields = "1";
|
||||
|
||||
new GuiWindowCtrl(PostFXEditorWindow) {
|
||||
text = ":: PostFX Editor - EditorTemplateLevel";
|
||||
text = ":: PostFX Editor - EditorTemplateLevel";
|
||||
resizeWidth = "1";
|
||||
resizeHeight = "1";
|
||||
canMove = "1";
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ $Gui::fontTypeMono = "Arial";
|
|||
$GUI::fontSize[12] = 12;
|
||||
$GUI::fontSize[14] = 14;
|
||||
$GUI::fontSize[16] = 16;
|
||||
$GUI::fontSize[18] = 18;
|
||||
$GUI::fontSize[18] = 17;
|
||||
$GUI::fontSize[24] = 24;
|
||||
$GUI::fontSize[36] = 36;
|
||||
|
||||
|
|
@ -195,8 +195,8 @@ new GuiControlProfile (ToolsGuiWindowProfile)
|
|||
hasBitmapArray = true;
|
||||
justify = "left";
|
||||
category = "Tools";
|
||||
fontType = $Gui::fontTypeMedium;
|
||||
fontSize = $GUI::fontSize[18];
|
||||
fontType = $Gui::fontTypeBold;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiPaneProfile ) )
|
||||
|
|
@ -211,7 +211,7 @@ new GuiControlProfile (ToolsGuiPaneProfile)
|
|||
borderColor = EditorSettings.value("Theme/windowBackgroundColor");
|
||||
category = "Tools";
|
||||
fontType = $Gui::fontTypeMedium;
|
||||
fontSize = $GUI::fontSize[18];
|
||||
fontSize = $GUI::fontSize[16];
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiToolbarWindowProfile ) )
|
||||
|
|
@ -943,6 +943,14 @@ singleton GuiControlProfile( GuiBackFillProfile )
|
|||
category = "Editor";
|
||||
};
|
||||
|
||||
singleton GuiControlProfile( GuiDarkFillProfile )
|
||||
{
|
||||
opaque = true;
|
||||
fillColor = "25 25 25";
|
||||
border = false;
|
||||
category = "Editor";
|
||||
};
|
||||
|
||||
singleton GuiControlProfile(GuiShaderEditorProfile : ToolsGuiDefaultProfile)
|
||||
{
|
||||
opaque = true;
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ $guiContent = new GuiControl() {
|
|||
closeCommand = "MaterialEditorPreviewWindow.setVisible(false);";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Material Editor - Preview";
|
||||
text = ":: Material Editor - Preview";
|
||||
|
||||
/*new GuiContainer(MaterialEditorPreviewPane) {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ $guiContent = new GuiControl(MaterialEditorGui,EditorGuiGroup) {
|
|||
closeCommand = "MaterialEditorPropertiesWindow.setVisible(false);";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Material Editor - Properties";
|
||||
text = ":: Material Editor - Properties";
|
||||
|
||||
new GuiContainer(MaterialEditorGuiContent){ // Client group
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ function MaterialEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = MaterialEditorPreviewWindow;
|
||||
%fluidWindow = MaterialEditorPropertiesWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
@ -784,8 +784,8 @@ function MaterialEditorGui::isMatEditorMaterial(%this, %material)
|
|||
|
||||
function MaterialEditorGui::setMaterialNotDirty(%this)
|
||||
{
|
||||
%propertyText = ":: Material Editor - Properties";
|
||||
%previewText = ":: Material Editor - Preview";
|
||||
%propertyText = ":: Material Editor - Properties";
|
||||
%previewText = ":: Material Editor - Preview";
|
||||
MaterialEditorPropertiesWindow.text = %propertyText;
|
||||
MaterialEditorPreviewWindow.text = %previewText;
|
||||
|
||||
|
|
@ -795,8 +795,8 @@ function MaterialEditorGui::setMaterialNotDirty(%this)
|
|||
|
||||
function MaterialEditorGui::setMaterialDirty(%this)
|
||||
{
|
||||
%propertyText = ":: Material Editor - Properties *";
|
||||
%previewText = ":: Material Editor - Preview *";
|
||||
%propertyText = ":: Material Editor - Properties *";
|
||||
%previewText = ":: Material Editor - Preview *";
|
||||
MaterialEditorPropertiesWindow.text = %propertyText;
|
||||
MaterialEditorPreviewWindow.text = %previewText;
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ $guiContent = new GuiMeshRoadEditorCtrl(MeshRoadEditorGui,EditorGuiGroup) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "EditorGui.setEditor( WorldEditorInspectorPlugin );";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Mesh Road Editor - Roads";
|
||||
text = ":: Mesh Road Editor - Roads";
|
||||
|
||||
new GuiContainer(MeshRoadEditorRoadsPanel){
|
||||
profile = "ToolsGuiDefaultProfile";
|
||||
|
|
@ -267,7 +267,7 @@ $guiContent = new GuiMeshRoadEditorCtrl(MeshRoadEditorGui,EditorGuiGroup) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "EditorGui.setEditor( WorldEditorPlugin );";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Mesh Road Editor - Properties";
|
||||
text = ":: Mesh Road Editor - Properties";
|
||||
|
||||
new GuiContainer(MeshRoadNodesPanel){ //Node Properties
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ function MeshRoadEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = MeshRoadEditorTreeWindow;
|
||||
%fluidWindow = MeshRoadEditorOptionsWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ $guiContent = new GuiMissionAreaEditorCtrl(MissionAreaEditorGui, EditorGuiGroup)
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Mission Area";
|
||||
text = ":: Mission Area";
|
||||
|
||||
new GuiContainer(MissionAreaEditorTerrainPanel){
|
||||
profile = "ToolsGuiDefaultProfile";
|
||||
|
|
@ -234,7 +234,7 @@ $guiContent = new GuiMissionAreaEditorCtrl(MissionAreaEditorGui, EditorGuiGroup)
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Mission Area Editor - Properties";
|
||||
text = ":: Mission Area Editor - Properties";
|
||||
|
||||
new GuiContainer(MissionAreaEditorPropertiesPanel){ //Mission Area Properties
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ function MissionAreaEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = MissionAreaEditorTerrainWindow;
|
||||
%fluidWindow = MissionAreaEditorPropertiesWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ $guiContent = new GuiNavEditorCtrl(NavEditorGui, EditorGuiGroup) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Navigation Editor";
|
||||
text = ":: Navigation Editor";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
Profile = "ToolsGuiButtonProfile";
|
||||
|
|
@ -271,7 +271,7 @@ $guiContent = new GuiNavEditorCtrl(NavEditorGui, EditorGuiGroup) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Navigation Editor - Properties";
|
||||
text = ":: Navigation Editor - Properties";
|
||||
|
||||
new GuiContainer(NavEditorOptionsPanel){ //Actions
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ function NavEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = NavEditorTreeWindow;
|
||||
%fluidWindow = NavEditorOptionsWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ $guiContent = new GuiWindowCollapseCtrl(PE_Window) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "";
|
||||
EdgeSnap = "0";
|
||||
text = ":: Particle Editor";
|
||||
text = ":: Particle Editor";
|
||||
|
||||
new GuiTabBookCtrl(PE_TabBook) {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ function ParticleEditor::createParticleList( %this )
|
|||
|
||||
function ParticleEditor::openEmitterPane( %this )
|
||||
{
|
||||
PE_Window.text = ":: Particle Editor - Emitters";
|
||||
PE_Window.text = ":: Particle Editor - Emitters";
|
||||
PE_EmitterEditor.guiSync();
|
||||
ParticleEditor.activeEditor = PE_EmitterEditor;
|
||||
|
||||
|
|
@ -172,7 +172,7 @@ function ParticleEditor::openEmitterPane( %this )
|
|||
|
||||
function ParticleEditor::openParticlePane( %this )
|
||||
{
|
||||
PE_Window.text = ":: Particle Editor - Particles";
|
||||
PE_Window.text = ":: Particle Editor - Particles";
|
||||
|
||||
PE_ParticleEditor.guiSync();
|
||||
ParticleEditor.activeEditor = PE_ParticleEditor;
|
||||
|
|
@ -276,7 +276,7 @@ function ParticleEditor::maxSize(%this, %window)
|
|||
// prevent onResize after a resize
|
||||
%this.resizing = false;
|
||||
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ $guiContent = new GuiRiverEditorCtrl(RiverEditorGui, EditorGuiGroup) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: River Editor - Rivers";
|
||||
text = ":: River Editor - Rivers";
|
||||
|
||||
/*
|
||||
new GuiBitmapButtonCtrl() {
|
||||
|
|
@ -316,7 +316,7 @@ $guiContent = new GuiRiverEditorCtrl(RiverEditorGui, EditorGuiGroup) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: River Editor - Properties";
|
||||
text = ":: River Editor - Properties";
|
||||
|
||||
new GuiContainer(RiverEditorOptionsPanel){ //Node Properties
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ function RiverEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = RiverEditorTreeWindow;
|
||||
%fluidWindow = RiverEditorOptionsWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ $guiContent = new GuiRoadEditorCtrl(RoadEditorGui) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Decal Road Editor - Roads & Paths";
|
||||
text = ":: Decal Road Editor - Roads & Paths";
|
||||
|
||||
/*
|
||||
new GuiBitmapButtonCtrl() {
|
||||
|
|
@ -317,7 +317,7 @@ $guiContent = new GuiRoadEditorCtrl(RoadEditorGui) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Decal Road Editor - Properties";
|
||||
text = ":: Decal Road Editor - Properties";
|
||||
|
||||
new GuiContainer(RoadEditorProperties){ //Node Properties
|
||||
isContainer = "1";
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ function RoadEditorGui::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = RoadEditorTreeWindow;
|
||||
%fluidWindow = RoadEditorOptionsWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
// Let's check if the ShapeEdAdvancedWindow can be stacked in the side panel
|
||||
if (getWord($pref::Video::mode, 1) > 899 && isObject(ShapeEdSelectWindow) && isObject(ShapeEdPropWindow))
|
||||
{
|
||||
$ShapeEdAdvancedWindowPos = getWord($pref::Video::mode, 0) - 360 SPC getWord(ShapeEdSelectWindow.extent, 1) + getWord(ShapeEdPropWindow.extent, 1) + getWord(EditorGuiToolbar.extent, 1) + 12;
|
||||
$ShapeEdAdvancedWindowPos = getWord($pref::Video::mode, 0) - 360 SPC getWord(ShapeEdSelectWindow.extent, 1) + getWord(ShapeEdPropWindow.extent, 1) + getWord(EditorGuiToolbar.extent, 1) + 12 - 7;
|
||||
}
|
||||
else
|
||||
{
|
||||
$ShapeEdAdvancedWindowPos = getWord($pref::Video::mode, 0) - 720 SPC getWord(EditorGuiToolbar.extent, 1) + 6;
|
||||
$ShapeEdAdvancedWindowPos = getWord($pref::Video::mode, 0) - 720 SPC getWord(EditorGuiToolbar.extent, 1) + 6 - 7;
|
||||
}
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
$guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow,EditorGuiGroup) {
|
||||
text = ":: Shape Editor - Advanced Properties";
|
||||
text = ":: Shape Editor - Advanced Properties";
|
||||
resizeWidth = "0";
|
||||
resizeHeight = "0";
|
||||
canMove = "1";
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ $guiContent = new GuiWindowCollapseCtrl(ShapeEdPropWindow) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Shape Editor - Properties";
|
||||
text = ":: Shape Editor - Properties";
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// Sequence and Node editors
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ $guiContent = new GuiControl() {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Shape Editor - Select";
|
||||
text = ":: Shape Editor - Select";
|
||||
|
||||
new GuiTabBookCtrl(ShapeEditorTabbook) {
|
||||
internalName = "tabBook";
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ $guiContent = new GuiControl(windowConsoleDlg) {
|
|||
canSaveDynamicFields = "0";
|
||||
|
||||
new GuiWindowCtrl(windowConsoleControl) {
|
||||
text = ":: Console Log";
|
||||
text = ":: Console Log";
|
||||
resizeWidth = "1";
|
||||
resizeHeight = "1";
|
||||
canMove = "1";
|
||||
|
|
|
|||
|
|
@ -19,6 +19,19 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
|
|||
AnchorLeft = "1";
|
||||
AnchorRight = "0";
|
||||
|
||||
new GuiDecoyCtrl(EditorGuiMainTabBookBG) {
|
||||
profile = "GuiDarkFillProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "bottom";
|
||||
position = "0 5";
|
||||
extent = "800 24";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
useMouseEvents = "0";
|
||||
isDecoy = "1";
|
||||
};
|
||||
|
||||
new GuiTabBookCtrl(EditorGuiMainTabBook) {
|
||||
tabHeight = "20";
|
||||
selectedPage = "0";
|
||||
|
|
@ -261,7 +274,7 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
|
|||
HorizSizing = "width";
|
||||
VertSizing = "bottom";
|
||||
Position = "0 0";
|
||||
Extent = "800 37";
|
||||
Extent = "800 40";
|
||||
MinExtent = "8 8";
|
||||
Margin = "0 0 0 0";
|
||||
Padding = "0 0 0 0";
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ $guiContent = new GuiControl(EditorSettingsWindow,EditorGuiGroup) {
|
|||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Editor Settings";
|
||||
text = ":: Editor Settings";
|
||||
closeCommand = "ESettingsWindow.hideDialog();";
|
||||
Margin = "0 0 0 0";
|
||||
Padding = "0 0 0 0";
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ $guiContent = new GuiControl(ManageBookmarksContainer, EditorGuiGroup) {
|
|||
position = "50 90";
|
||||
extent = "180 306";
|
||||
MinExtent = "120 130";
|
||||
text = ":: Camera Bookmark Manager";
|
||||
text = ":: Camera Bookmark Manager";
|
||||
closeCommand = "EManageBookmarks.hideDialog();";
|
||||
EdgeSnap = "0";
|
||||
canCollapse = "0";
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ $guiContent = new GuiControl(ManageSFXParametersContainer,EditorGuiGroup) {
|
|||
minSize = "50 50";
|
||||
closeCommand = "EManageSFXParameters.setVisible( false );";
|
||||
EdgeSnap = "0";
|
||||
text = ":: Audio Parameters";
|
||||
text = ":: Audio Parameters";
|
||||
Margin = "5 5 5 5";
|
||||
Padding = "5 5 5 5";
|
||||
AnchorTop = "1";
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ $guiContent = new GuiControl(ObjectSnapOptionsContainer, EditorGuiGroup) {
|
|||
position = "400 31";
|
||||
extent =" 175 267";
|
||||
MinExtent = "175 130";
|
||||
text = ":: Snap Options";
|
||||
text = ":: Snap Options";
|
||||
closeCommand = "ESnapOptions.hideDialog();";
|
||||
EdgeSnap = "0";
|
||||
canCollapse = "0";
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ $guiContent = new GuiControl(TerrainPainterContainer,EditorGuiGroup) {
|
|||
minSize = "300 160";
|
||||
closeCommand = "EPainter.parentGroup.setVisible(false);";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Terrain Painter - Preview";
|
||||
text = ":: Terrain Painter - Preview";
|
||||
|
||||
new GuiContainer(EPainterPreviewCont){
|
||||
Docking = "Client";
|
||||
|
|
@ -293,7 +293,7 @@ $guiContent = new GuiControl(TerrainPainterContainer,EditorGuiGroup) {
|
|||
minSize = "152 300";
|
||||
closeCommand = "EPainter.parentGroup.setVisible(false);";
|
||||
EdgeSnap = "1";
|
||||
text = ":: Terrain Painter - Selector";
|
||||
text = ":: Terrain Painter - Selector";
|
||||
|
||||
new GuiScrollCtrl( EPainterScroll ) {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
|
|||
|
|
@ -9,13 +9,26 @@ $guiContent = new GuiContainer(EWToolsToolbar) {
|
|||
VertSizing = "bottom";
|
||||
Position = "0 38";
|
||||
Extent = "0 33";
|
||||
MinExtent = "8 2";
|
||||
MinExtent = "8 34";
|
||||
canSave = "1";
|
||||
Visible = "1";
|
||||
hovertime = "1000";
|
||||
isClosed = "0";
|
||||
isDynamic = "0";
|
||||
|
||||
new GuiDecoyCtrl(EWToolsToolbarSpacer) {
|
||||
profile = "ToolsMenubarProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 3";
|
||||
extent = "4 33";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
useMouseEvents = "0";
|
||||
isDecoy = "1";
|
||||
};
|
||||
|
||||
new GuiDynamicCtrlArrayControl(ToolsToolbarArray) {
|
||||
canSaveDynamicFields = "0";
|
||||
Enabled = "1";
|
||||
|
|
@ -24,15 +37,15 @@ $guiContent = new GuiContainer(EWToolsToolbar) {
|
|||
HorizSizing = "width";
|
||||
VertSizing = "bottom";
|
||||
position = "4 3";
|
||||
Extent = "264 32";
|
||||
MinExtent = "1024 32";
|
||||
Extent = "264 33";
|
||||
MinExtent = "1024 33";
|
||||
canSave = "1";
|
||||
Visible = "1";
|
||||
hovertime = "1000";
|
||||
colCount = "1";
|
||||
colSize = "29";
|
||||
RowSize = "27";
|
||||
rowSpacing = "2";
|
||||
rowSpacing = "1";
|
||||
colSpacing = "4";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
|
|
@ -61,7 +74,7 @@ $guiContent = new GuiContainer(EWToolsToolbar) {
|
|||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "1 1";
|
||||
extent = "35 31";
|
||||
extent = "35 33";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
helpTag = "0";
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ $guiContent = new GuiControl() {
|
|||
closeCommand = "EWInspectorWindow.setVisible(false);";
|
||||
minSize = "50 50";
|
||||
EdgeSnap = "1";
|
||||
text = ":: World Editor - Inspector";
|
||||
text = ":: World Editor - Inspector";
|
||||
|
||||
new GuiContainer(EWInspectorContainer) {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ $guiContent = new GuiControl() {
|
|||
minSize = "50 50";
|
||||
closeCommand = "EWTreeWindow.setVisible(false);";
|
||||
EdgeSnap = "1";
|
||||
text = ":: World Edior - Scene Tree";
|
||||
text = ":: World Edior - Scene Tree";
|
||||
|
||||
new GuiTabBookCtrl(EditorTreeTabBook) {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ $guiContent = new GuiControl(TerrainImportGui, EditorGuiGroup) {
|
|||
minSize = "4 4";
|
||||
closeCommand = "Canvas.popDialog( TerrainImportGui );";
|
||||
EdgeSnap = "0";
|
||||
text = ":: Import Terrain Height Map";
|
||||
text = ":: Import Terrain Height Map";
|
||||
|
||||
new GuiTextEditCtrl() {
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ $guiContent = new GuiControl(TerrainMaterialDlg,EditorGuiGroup) {
|
|||
canSaveDynamicFields = "1";
|
||||
|
||||
new GuiWindowCtrl() {
|
||||
text = ":: Terrain Materials Editor";
|
||||
text = ":: Terrain Materials Editor";
|
||||
resizeWidth = "0";
|
||||
canMinimize = "0";
|
||||
canMaximize = "0";
|
||||
|
|
|
|||
|
|
@ -1616,9 +1616,9 @@ function EWorldEditor::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = EWTreeWindow;
|
||||
%fluidWindow = EWInspectorWindow;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 + 19;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom + 12;
|
||||
|
||||
// --- Fixed window (top) ------------------------------------------------
|
||||
// put it back if it moved
|
||||
|
|
|
|||
|
|
@ -596,7 +596,7 @@ function TerrainPainterContainer::maxSize(%this, %window)
|
|||
|
||||
%fixedWindow = EPainterPreview;
|
||||
%fluidWindow = EPainter;
|
||||
%top = EditorGuiToolbar.extent.y + 6;
|
||||
%top = EditorGuiToolbar.extent.y + 6 - 7 + 24;
|
||||
%bottom = %top + 65 - 6;
|
||||
%maxHeight = Canvas.extent.y - %top - %bottom;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue