Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » ResizeFeature: keep aspect Ratio
ResizeFeature: keep aspect Ratio [message #996594] Wed, 02 January 2013 13:30 Go to next message
Simon Schimansky is currently offline Simon SchimanskyFriend
Messages: 4
Registered: December 2012
Junior Member
Hi,
my editor is nearly finished. However, there are some details, i want to fix.
One of them is the following:
In my editor there are rectangles, that can only be squares (same height and width). To achieve this, i implemented a resize feature, that does what i want. The only problem i have is the feedback figure, while resizing the pictogram. Is there a way to alter the default behaviour and make the feedback figure a square instead of a rectangle?

Thanks for your answers.
Re: ResizeFeature: keep aspect Ratio [message #996630 is a reply to message #996594] Wed, 02 January 2013 14:53 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Simon,

hm, that is (at least currently) not possible. The feedback figure directly
follows the user's mouse gestures, only the stopp or allowed indication can
be influenced by the tool.

One could think of an additional hook in the resize feature where one can
influence the feedback figure size. Feel free to file an enhancement
Bugzilla for this.

Michael
Re: ResizeFeature: keep aspect Ratio [message #996680 is a reply to message #996630] Wed, 02 January 2013 16:56 Go to previous message
Simon Schimansky is currently offline Simon SchimanskyFriend
Messages: 4
Registered: December 2012
Junior Member
Alright, will do. Thanks for your answer!
Previous Topic:Context Pad in graphiti 0.7.3
Next Topic:Anchor creation breaks Graphiti
Goto Forum:
  


Current Time: Fri Apr 26 14:03:26 GMT 2024

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

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

Back to the top