[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

Hello Alex,

I tried the Flow Layout this morning on the rectangle I have, and the result is farther of the one I want... In fact, the label of the rectangle is now minimal, but the compartment contained in the rectangle is minimal also! And what I need is to have a label as small as possible and a compartment that takes the maximum possible size (i.e. the compartment is attached to the label of the rectangle on north, and directly attached to the rectangle's sides on the east, south and west.

Here is what I did...

I created a Flow Layout as a rectangle's child and I set the different parameters as following : ForceSingleLine -> true, MajorAlignment -> BEGINNING, MajorSpacing -> 0, MatchMinorSize -> false, MinorAlignment -> CENTER, MinorSpacing -> 0, Vertical -> true.

Is this enough ? Because doing this leads to a label that takes the minimal size, but the compartment's bounds are not stuck to the rectangle's bounds...

Thanks in advance for your help, and for the time you spend on my requests !

Maxence