Skip to main content



      Home
Home » Modeling » Graphiti » ResizeFeature: keep aspect Ratio
ResizeFeature: keep aspect Ratio [message #996594] Wed, 02 January 2013 08:30 Go to next message
Eclipse UserFriend
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 09:53 Go to previous messageGo to next message
Eclipse UserFriend
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 11:56 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 03:25:05 EDT 2025

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

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

Back to the top