RamonUnch / AltSnap

Maintained continuation of Stefan Sundin's AltDrag
GNU General Public License v3.0
2.08k stars 66 forks source link

Resize windows from center - like osx [Feat] #525

Open schroef opened 5 months ago

schroef commented 5 months ago

Super nice app! Was looking for an app or solution to resize windows like OSX does, i like that so much more then current only right side. It saves time, sounds weird, but you dont need to resize and then move and possible resize again. Because its done from both side or from the center, the move step is not needed.

schroef commented 5 months ago

Actually, just found out that alt + risze in the center actually feels very close to it. Only the vertical resize could perhaps be locked to top vs from center as well.

Ichisich commented 5 months ago

Try the All directions option in the Center resize mode section. I'm not familiar with OSX, but that sounds like what you want.

RamonUnch commented 5 months ago

Actually, just found out that alt + risze in the center actually feels very close to it. Only the vertical resize could perhaps be locked to top vs from center as well.

I am not sure I 100% understand, but keep in mind you can adjust the size of the central region if you go in the Metrics tab.

When resizing in "All directions", the center of the window is kept at the same position. Also the Window is clamped to its min/max size as usual. I do not know the strategy of OSX but for sure it could be added in the list, because it would probably help a lot of other people to find the same behavior.

schroef commented 5 months ago

Only thing I can not seem to figure out is using a second key to trigger altsnap. I would prefer to use the win key for that, but can't seem to find where to add that in the ini file

RamonUnch commented 5 months ago

image