Correct positioning sidepanels

Sidepanels of the world editors got shifted due to the introduction of the editor tab. Several corrected overall. Some minor tweaks to be expected in a later commit.
This commit is contained in:
Nils Eikelenboom 2024-09-10 20:39:54 +02:00
parent b0a11d79d5
commit 8b049e3b01
15 changed files with 17 additions and 17 deletions

View file

@ -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

View file

@ -596,7 +596,7 @@ function TerrainPainterContainer::maxSize(%this, %window)
%fixedWindow = EPainterPreview;
%fluidWindow = EPainter;
%top = EditorGuiToolbar.extent.y + 6;
%top = EditorGuiToolbar.extent.y + 6 - 7;
%bottom = %top + 65 - 6;
%maxHeight = Canvas.extent.y - %top - %bottom;