|
@@ -54,8 +54,9 @@ function MissionAreaEditorGui::maxSize(%this, %window)
|
|
|
|
|
|
%fixedWindow = MissionAreaEditorTerrainWindow;
|
|
|
%fluidWindow = MissionAreaEditorPropertiesWindow;
|
|
|
- %top = EditorGuiToolbar.extent.y + 6 - 7;
|
|
|
- %bottom = %top + 65 - 6;
|
|
|
+ %offset = -1; // tweak the vertical offset so that it aligns neatly
|
|
|
+ %top = EditorGuiToolbar.extent.y + %offset;
|
|
|
+ %bottom = %top + 59;
|
|
|
%maxHeight = Canvas.extent.y - %top - %bottom;
|
|
|
|
|
|
// --- Fixed window (top) ------------------------------------------------
|