Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » compartment resize ratio
compartment resize ratio [message #196405] Wed, 09 July 2008 21:48 Go to next message
Eclipse UserFriend
Originally posted by: kelvinng.db.gmail.com

Hi all,

I was wondering if there's a way to ensure that a compartment is
resized proportionally.
What I mean is, if I resize a compartment horizontally, I want it to
automatically resize vertically as well.

This is to ensure that my figure remains a perfect circle.

~Kelvin Ng
Re: compartment resize ratio [message #196481 is a reply to message #196405] Thu, 10 July 2008 11:47 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Kelvin,

I think you have to use custom layout manager for it.

-----------------
Alex Shatalin
Re: compartment resize ratio [message #196505 is a reply to message #196481] Thu, 10 July 2008 16:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kelvinng.db.gmail.com

Would you happen to have any example code or reference tutorials that I
can look at?

~Kelvin Ng

On 2008-07-10 07:47:38 -0400, Alex Shatalin <vano@borland.com> said:

> Hello Kelvin,
>
> I think you have to use custom layout manager for it.
>
> -----------------
> Alex Shatalin
Re: compartment resize ratio [message #196511 is a reply to message #196405] Thu, 10 July 2008 16:06 Go to previous message
Eclipse UserFriend
Originally posted by: kelvinng.db.gmail.com

I discovered that I can do this be holding down the SHIFT key when I resize.

Is there any way that I can ensure that the SHIFT key is alway pressed
when I am resizing?

~Kelvin Ng

On 2008-07-09 17:48:00 -0400, Kelvin Ng <kelvinng.db@gmail.com> said:

> Hi all,
>
> I was wondering if there's a way to ensure that a compartment is
> resized proportionally.
> What I mean is, if I resize a compartment horizontally, I want it to
> automatically resize vertically as well.
>
> This is to ensure that my figure remains a perfect circle.
>
> ~Kelvin Ng
Previous Topic:DND Exception
Next Topic:I need validation , OCL doesn`t work.I can do that in Java?
Goto Forum:
  


Current Time: Mon May 25 05:55:21 GMT 2020

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

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

Back to the top