Butterfly icon indicating copy to clipboard operation
Butterfly copied to clipboard

[Feature request]: Lock aspect ratio when resizing object

Open yotama9 opened this issue 1 year ago • 8 comments

Is your feature request related to a problem? Please describe

The requested request is platform independent, but I searched for it only on a smartphone

Describe your feature request!

When selecting an object, there should be an option to lock the aspect ratio when resizing. At the moment this is not the case, and resizing can easily result with deformed objects.

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

yotama9 avatar Feb 25 '24 20:02 yotama9

You can need to click again on your selection and the handles gets a different color. Now you can resize without changing the aspect ratio

CodeDoctorDE avatar Feb 25 '24 20:02 CodeDoctorDE

Hmmm... I did not know that (still have to read the docks). Maybe it would be valuable to add a lock icon?

yotama9 avatar Feb 25 '24 20:02 yotama9

I think it isn't mentioned anywhere in the docs. It would be nice if you could contribute it. Where would you like to have the lock icon? I don't see where I could add it

CodeDoctorDE avatar Feb 25 '24 21:02 CodeDoctorDE

Above the top right corner maybe? Or maybe next to the circle in the middle of the object?

yotama9 avatar Feb 25 '24 21:02 yotama9

Top right is a bit random. We already put the rotation circle at the top (see #607 in https://preview.butterfly.linwood.dev). How should this look like? Is there any reference to other apps?

CodeDoctorDE avatar Feb 25 '24 21:02 CodeDoctorDE

Hmmm... I think it should appear inside the selected frame. It makes more sense to me.

The gimp uses a chain (complete/broken) and inkscape is using a lock symbol (closed/open) for (keeping/not keeping) the aspect ratio: image image

yotama9 avatar Feb 25 '24 21:02 yotama9

But there it isn't inside a canvas. I'm currently not sure if this looks good

CodeDoctorDE avatar Feb 25 '24 21:02 CodeDoctorDE

It is not, that's true. But I still think that there should be some hint about the ability to lock the AR.

yotama9 avatar Feb 26 '24 19:02 yotama9