Skip to main content


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 18:24 Go to next message
Eclipse UserFriend
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 15:44 Go to previous message
Eclipse UserFriend
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: Fri Apr 26 19:06:02 GMT 2024

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

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

Back to the top