Even Geekier Window Resizing
July 23rd, 2011One of the UI concessions OS X Lion makes to a time-honored Microsoft Windows feature, is the addition window-resizing hotspots on all edges of a given window. Traditionally, Mac users have been limited to resizing windows only through the use of the “Zoom” button in the title bar, or by clicking and dragging the resize control at the bottom-right corner of a window.
Now you can grab any edge of a window and grow or shrink it to suit your wants. What I didn’t notice until today, however, are a few interesting variations on window resizing that are facilitated by pressing a modifier key while resizing.
Hold the option key while resizing to cause changes in the window’s width or height to be made in equal measure on each side of the window. For example, clicking and dragging the right edge of a window with option depressed will cause the left side to grow or shrink in mirrored fashion. For lack of a better term, I’ll call this balanced resizing.
Hold the shift key while resizing to impose constrained resizing. Whatever direction you grow or shrink the window, adjustments will be made so that the ratio of height to width remains the same.
These are some pretty geeky resizing modes. I don’t foresee using them particularly often, but it’s interesting to know they are there.
(I did some preliminary Googling before sharing this, and didn’t see any documentation come up. I’ve since noticed that Matt Gemmell already shared this tip in a Twitter update.)
July 23rd, 2011 at 5:20 pm
I also find it interesting that you can choose to press the modifier keys at any time, and that it takes the proportions and center point at the moment the key was pressed, not the original ones.
Seems like the wrong choice to me, but it is interesting nonetheless.
July 23rd, 2011 at 5:30 pm
Print Screen with Shift+Cmd+4 works similarly. Opt makes it resize from center. Shift doesn’t constrain the ratio but instead locks one dimension.
July 23rd, 2011 at 6:07 pm
You can even use them both together!! Very cool thanks for the tip.
July 23rd, 2011 at 6:36 pm
These are the same modifier keys that Adobe Creative Suite applications have used for resizing objects since forever.
July 23rd, 2011 at 6:47 pm
@Todd: You need to go even further back. I seem to recall these modifiers date to MacPaint. Someone correct me if I’m wrong, but I seem to recall using them in SuperPaint in 1989 and I thought even then that they were Mac standards.
July 23rd, 2011 at 8:47 pm
Linux did it first.
July 24th, 2011 at 2:12 am
I’m a fan of the surprisingly little known use of the cmd to resize and move windows that don’t have the focus, without giving them focus.
July 25th, 2011 at 2:24 pm
“particuarly”
July 25th, 2011 at 2:28 pm
@getaneditor – Thanks, fixed.
To those of you who find my typos so offensive as to warrant snarkiness in the tone of your comments, maybe you should find another blog to read. I aim to inform and entertain, by devoting a small fraction of my time to writing articles here. Mistakes will happen. Deal with it, or move along, please.
August 4th, 2011 at 7:47 pm
This is a cool tip. I accidentally stumbled on another. If you point at a flat edge (doesn’t work at corners) and move the other way, you can drag the window. Point at the right edge and move left or right to resize but move up or down and you drag the window. Once you start, you can move any way you want. Same with top or bottom (start moving sideways).