Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323294 - Polygons don't obey layout
Summary: Polygons don't obey layout
Status: NEW
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 17:15 EDT by Arto Jarvinen CLA
Modified: 2010-08-20 17:19 EDT (History)
0 users

See Also:


Attachments
Screen-shot of the resulting figures in the diagram editor (10.12 KB, image/png)
2010-08-20 17:17 EDT, Arto Jarvinen CLA
no flags Details
The models (10.12 KB, image/png)
2010-08-20 17:17 EDT, Arto Jarvinen CLA
no flags Details
The models (ignore the previous attachment with the same description) (1.68 KB, application/x-gzip)
2010-08-20 17:19 EDT, Arto Jarvinen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arto Jarvinen CLA 2010-08-20 17:15:20 EDT
Build Identifier: 20090703-0844

In the attached models I have created two figures with rectangles in them. One rectangle is defined as a Rectangle and one as a Polygon. The Rectangle ends up approximately where I want it although there is a few lines of space above the Rectangle that I can't explain. The Polygon ends up in the upper left corner regardless of layout.
I'm using the DSL Toolkit build. The behavior is about the same (but not quite) on a PC and also in the Helios release.
Thanks for your time! -Arto

Reproducible: Always

Steps to Reproduce:
1.Create a model with two classes.
2.Create figures to represent the classes. In one figure insert a Rectangle child, in the other a Polygon with the same size as the Rectangle. These two figure should come out identical as far as I understand. Use e.g. Grid Layout and center the Rectangle and the Polygon horizontally in the Grid Layout Data. The Rectangle gets centered and remains centered as the figure is resized. The Polygon remains in the upper left corner of the figure when the figure is resized.
Comment 1 Arto Jarvinen CLA 2010-08-20 17:17:11 EDT
Created attachment 177145 [details]
Screen-shot of the resulting figures in the diagram editor
Comment 2 Arto Jarvinen CLA 2010-08-20 17:17:36 EDT
Created attachment 177146 [details]
The models
Comment 3 Arto Jarvinen CLA 2010-08-20 17:19:51 EDT
Created attachment 177147 [details]
The models (ignore the previous attachment with the same description)