Book a Demo

Author Topic: Resizing without changing the aspect ratio?  (Read 5565 times)

ebeb

  • EA User
  • **
  • Posts: 169
  • Karma: +0/-0
    • View Profile
Resizing without changing the aspect ratio?
« on: January 27, 2010, 12:56:20 am »
Hi,

normally, it is not necessary to resize elements whitout changing the aspect ratio, I know. Plus it might interfere with the snap to grid option.

But recently I had to use a lot of alternate images which are WMF vector graphics that I drew in OO. When I set an alternate image, it is too big. So I have to resize it.
 
But if I do, the aspect ratio changes and it gets squeezed. In most applications with graphic design, you can use some of the modifier keys ALT, CTRL or SHIFT. But I tried all including combinations but none worked.

Is this feature missing or am I missing something? :)

Thanks!

Shawn Stepper

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Resizing without changing the aspect ratio?
« Reply #1 on: January 27, 2010, 05:53:02 am »
This would be fantastic. It would also be handy to be able to reset the aspect ratio of an object if someone tweaked it.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Resizing without changing the aspect ratio?
« Reply #2 on: March 04, 2010, 06:14:15 am »
I vote for adding this feature.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Resizing without changing the aspect ratio?
« Reply #3 on: March 04, 2010, 09:40:57 am »
Don't know if it helps or not, but you can fix aspect ratio in shape scripts, e.g.

Code: [Select]
shape main
{
      fixedAspectRatio=true;
      defSize(100,50);
      image("image.wmf",0,0,100,100);
}
The Sparx Team
[email protected]

Robert_N

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Resizing without changing the aspect ratio?
« Reply #4 on: March 05, 2010, 01:12:32 am »
No matter what +1 from me for this feature.

ebeb

  • EA User
  • **
  • Posts: 169
  • Karma: +0/-0
    • View Profile
Re: Resizing without changing the aspect ratio?
« Reply #5 on: March 05, 2010, 03:59:07 am »
Quote
Don't know if it helps or not, but you can fix aspect ratio in shape scripts, e.g.

Hmm...nah...not really. I mean, it's good to know and definitely useful for shapes that will be reused quite often. But for system overview diagram with some fancy pictures, you wouldn't want to create new stereotypes + shapes for each element just because you need the aspect ratio feautre.

I mean, if this feature is already implemented in EA, it shouldn't be too complicated to assign e.g. CTRL to temporarily set the flag while resizing and reset it when releasing the key, should it?

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: Resizing without changing the aspect ratio?
« Reply #6 on: March 05, 2010, 08:44:11 pm »
Also +1 from me. Having this possibility without need to create new stereotypes with shape scripts, would be great!

ebeb

  • EA User
  • **
  • Posts: 169
  • Karma: +0/-0
    • View Profile
Re: Resizing without changing the aspect ratio?
« Reply #7 on: March 05, 2010, 11:11:39 pm »
Let sum up:
  • it's not working right now
  • Many people whould like to have it
  • It's already implemented in the shape attributes

So I filed a FR. Let's see. But I bet it won't make it into 8.0 cause it's already in Beta state.
« Last Edit: March 05, 2010, 11:12:03 pm by ebeb »