Community
Participate
Working Groups
Created attachment 281939 [details] TestElkLayout.zip The ELK layout wrongly set with invalid values for the coordinates of the regions. For example, in vertical stack, the first region is not at the beginning of the list. As soon as this wrong values are set there are unexpected behaviors in Sirius (resize, move, ...). Steps to reproduce: * Import project TestElkLayout from TestElkLayout.zip * Open diagram "diagramWithRegions" * Launch an "arrange all" * Expected: * The list container is correctly resized (fit to list items) and not too high. * The container with vertical layout, "root_V", is correctly resized and its children are correctly located. * Select the region "MyClass1", the y coordinate should be "0" (ie at the top of the list, ie without space bewteen the title "root_V" and the list). * The container with horizontal layout, "root_H", is correctly resized and its children are correctly located * Select the region "MyClass1", the y coordinate should be "0" (ie at the top of the list, ie without space bewteen the title "root_V" and the list) and the height should fulfill the list space.
New Gerrit change created: https://git.eclipse.org/r/159182
New Gerrit change created: https://git.eclipse.org/r/159181
Gerrit change https://git.eclipse.org/r/159181 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1b59b6389140b07beb20ff491da8d006825b3260
Gerrit change https://git.eclipse.org/r/159182 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c058cd576fd413b25a25ecc57d3f7e13cf2e0de0
Only container with VStack and empty regions are handled by above commits.