[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Issue with Layouts before in gmfgraph diagrams

Alex Shatalin wrote:

Hello Maxence,

I had a look at an ecore_diagram model, and when I create a new
EClass, the container (compartment) at the bottom is shrunk (same size
as the other compartments in fact), instead of filling the whole
See attached image - as you can see last compartment in EClass figure is
extended to fill whole space in the figure. If you have only one compartment - this is AFAIU what you are trying to achieve.
In my case, the compartment is not being expanded, I remarked it when I selected it (the image is available here :http://nsm01.casimages.com/img/2009/07/03/090703020318504384000217.jpg. Sorry, but I can't attach images since I'm forced to use the web portal). And it seems that the "rest" of the image is not the compartment but the rectangle itself... In my case, this causes that I cannot create any children in the compartment when the mouse is not precisely on the compartment, which is too small...


to the rectangle stuck to the left (as in a ecore_diagram model). Is
there a way to easily center the label ?
I've used grid layout for it - see second attached image.
Is it possible to combine both flow and grid layout ? because I'd like to do so in the same rectangle as above... But this point is not important, this is not a urgent thing ;)

Thanks,

Maxence