Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Resizing compartments
Resizing compartments [message #237236] Wed, 22 July 2009 14:43 Go to next message
Peter Thijs is currently offline Peter ThijsFriend
Messages: 17
Registered: July 2009
Junior Member
Hello,

I have a problem with creating compartments with a minimum size which
are resizable.
I created the following figure descriptor:

* Figure Descriptor A
* Rectangle B
- Grid Layout 2
* Rectangle C (compartment)
- Grad Layout Data true
- Preferred Size: [100, 50]
* Rectangle D (compartment)
- Grad Layout Data true
- Minimum Size: [50, 25]

Then I get a compartment C with a fixed size of [100, 50] which is not
possible to resize. When I use minimum size (compartment D), I get a
compartment as small as possible.

What am I doing wrong?

Thanks in advance,

Peter Thijs
Re: Resizing compartments [message #419785 is a reply to message #237236] Thu, 30 July 2009 11:32 Go to previous message
Peter Thijs is currently offline Peter ThijsFriend
Messages: 17
Registered: July 2009
Junior Member
Has nobody an idea how to solve this?

Peter Thijs wrote:
> Hello,
>
> I have a problem with creating compartments with a minimum size which
> are resizable.
> I created the following figure descriptor:
>
> * Figure Descriptor A
> * Rectangle B
> - Grid Layout 2
> * Rectangle C (compartment)
> - Grad Layout Data true
> - Preferred Size: [100, 50]
> * Rectangle D (compartment)
> - Grad Layout Data true
> - Minimum Size: [50, 25]
>
> Then I get a compartment C with a fixed size of [100, 50] which is not
> possible to resize. When I use minimum size (compartment D), I get a
> compartment as small as possible.
>
> What am I doing wrong?
>
> Thanks in advance,
>
> Peter Thijs
Previous Topic:Triggering EMF Validation from GMF
Next Topic:Initial position of nodes
Goto Forum:
  


Current Time: Sat Mar 06 12:24:18 GMT 2021

Powered by FUDForum. Page generated in 0.01693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top