Community
Participate
Working Groups
Created attachment 264048 [details] Use case to reproduce problem When we remove an element in a compartiment the default size is applied to compartiment. It's strange as behavior. Steps to reproduce: * Import the project CompartimentsLayoutProblem from attached archive file (CompartimentsLayoutProblem2.zip) * Open the diagram "VStackDiag" * Delete Left_Class1 * The compartiment is resized to default size KO. It should keep the vertical size.
This behavior depends on the "auto-size" state of the compartimented diagram element. In the provided sample diagram all GMF bounds are set to (-1, -1), the layout adapt the size of each region to their content (included label), if the user removes the first compartment, the two others are empty and take the default minimum size. If the user resize the P1 container or one of the compartment before deleting the first region, after the delete the other regions will keep their size.