From a21bb619e9df549f2ac23aab75d97a846983b739 Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Wed, 22 Nov 2023 11:20:50 +0100 Subject: [PATCH] fix(celllayout): cells where overlapping in some cases When cells with our own layout algorithm were mixed with the default MPS layouter then cells were overlapping especially if the content was bigger than the configured "Text width". Now, if we replace the layouter somewhere, it is replaced in the whole subtree. --- .../itemis/mps/editor/celllayout/runtime.mps | 345 ++++++++++++++++-- 1 file changed, 322 insertions(+), 23 deletions(-) diff --git a/code/celllayout/solutions/de.slisson.mps.editor.celllayout.runtime/models/de/itemis/mps/editor/celllayout/runtime.mps b/code/celllayout/solutions/de.slisson.mps.editor.celllayout.runtime/models/de/itemis/mps/editor/celllayout/runtime.mps index d1f1b8aa5..34b6bccee 100644 --- a/code/celllayout/solutions/de.slisson.mps.editor.celllayout.runtime/models/de/itemis/mps/editor/celllayout/runtime.mps +++ b/code/celllayout/solutions/de.slisson.mps.editor.celllayout.runtime/models/de/itemis/mps/editor/celllayout/runtime.mps @@ -12212,12 +12212,21 @@ - + + + + + + + + + + @@ -12236,11 +12245,16 @@ - - - - - + + + + + + + + + + @@ -12253,10 +12267,15 @@ - - - - + + + + + + + + + @@ -12270,8 +12289,13 @@ + + + + + - + @@ -12377,6 +12401,11 @@ + + + + + @@ -12384,24 +12413,225 @@ - - - - - - - - - + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -12621,6 +12851,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +