Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Maintain Aspect Ratio when resizing #508

Open
TanakJuka opened this issue Feb 14, 2024 · 0 comments
Open

[Feature request] Maintain Aspect Ratio when resizing #508

TanakJuka opened this issue Feb 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@TanakJuka
Copy link

Hi,
I've been using AltSnap daily since I discovered it forked from the abandoned AltDrag.

Lately I've been using it a lot to Resize windows but end up unable to keep their Aspect Ratio - For now I've added a workaround by using Sizer (found it in the "feature that won't be implemented soon" section, reasonably).

Still, Sizer isn't as immediate as a resizer as I'd like, so here's the feature request:

Is it possible to add a feature that only resizes windows by keeping their aspect ratio?
I'm not picky in the way it might activate, I though of:

  • Having a special fancy zone that takes up x% by x% of the lower right window (to use with the already active Resize), that only resizes with AR intact
  • Using a modifier key when drag-resizing (might conflict with other modifiers active, I'd imagine)
  • Having a different action from Resize, activated with a different mouse button, like "ResizeWithAR"
    But I'd guess any other way would work for me. I imagine that maintaining aspect ratio means the drag cannot be smooth but has to go in steps (like, for 16:9 it only resizes after the drag action goes through EITHER 9 pixel of height or 16 pixels of width)

I have no clue how easy or hard it would be to implement, and I'm not really sure how valuable a feature you'd feel it is, but I'm available to test it if needed!

To the extent of my knowledge, this isn't already present in AltSnap. If it is... just point me to it, and I'll manage the penance whipping.

Thanks in advance, and in either way this request goes!
Tanak

@RamonUnch RamonUnch added the enhancement New feature or request label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants