|Re: Remove the horizontal line in the middle of Compartment? [message #207164 is a reply to message #207149]
||Fri, 26 September 2008 11:40
| Thomas Beyer
Registered: July 2009
had the same issue, when I moved from GMF 2.0 (or some Milestone of 2.1) to
In your grafdef-model make sure, you set the correct layouts and constraints
for your elements:
My Figure, that looks like yours has the following definition:
- Label XXXLabel
- BorderLayoutData Beginning (vertical is set to true)
- Rectangle XXXCompartment
- BorderLayoutData Center (vertical is also set to true)
- Child Access (... for label)
- Child Access (... for comparment)
should do the trick for you.
"Nikolay Georgiev" <firstname.lastname@example.org> schrieb im Newsbeitrag
> in compartments there is a horizontal line above which stays the Label of
> the compartment. Normally this line is just under the Label, but somehow
> it happened to me that the line now is in the middle of the compartment.
> And now the compartments are divided in upper (empty) and bottom (where
> elements are added) part, but I would like them as before.
> Here is a picture of a compartment:
> You can see that after an element is added to the compartment, the line
> moves upwards.
> Do you what could be the reason for it and how can I make the line just
> stays under the label? The problem is not in the "List Layout" property.
> I'm using Eclipse 3.4.0 and GMF SDK 2.1.0 and GMF Runtime 1.1.0
Powered by FUDForum
. Page generated in 0.02147 seconds