Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » constrained resize (preserve aspect ratio)
constrained resize (preserve aspect ratio) [message #216932] Sat, 27 May 2006 14:24 Go to next message
Eclipse User
Originally posted by: alexander.schwartzonline.de

Hi,

is there a ResizableEditPolicywhich preserves the aspect ratio
of the node?

There is a constrained resize feature using a key code: hold down SHIFT
and the aspect ratio is constrained during a corner-resize.
(See http://dev.eclipse.org/mhonarc/lists/gef-dev/msg00215.html)

Is there constrained resize feature without using a key code?
Any hints?


Thanks,
- Alex
Re: constrained resize (preserve aspect ratio) [message #244235 is a reply to message #216932] Fri, 11 July 2008 11:44 Go to previous message
Eclipse User
Originally posted by: kelvinng.db.gmail.com

Sorry to bring up such an old thread, but was there ever a solution to this?

~Kelvin Ng


On 2006-05-27 14:24:20 -0400, Alexander Schwartz
<alexander@schwartzonline.de> said:

> Hi,
>
> is there a ResizableEditPolicywhich preserves the aspect ratio
> of the node?
>
> There is a constrained resize feature using a key code: hold down SHIFT
> and the aspect ratio is constrained during a corner-resize.
> (See http://dev.eclipse.org/mhonarc/lists/gef-dev/msg00215.html)
>
> Is there constrained resize feature without using a key code?
> Any hints?
>
>
> Thanks,
> - Alex
Previous Topic:Problems with compound border
Next Topic:Show a simple program on an editor page
Goto Forum:
  


Current Time: Wed Aug 27 07:03:42 EDT 2014

Powered by FUDForum. Page generated in 0.02139 seconds