ShiftIt icon indicating copy to clipboard operation
ShiftIt copied to clipboard

Place window in middle of screen?

Open jake-at-work opened this issue 10 years ago • 4 comments

Is there a way to place a window in the middle of the screen when organizing a portrait oriented screen? I don't mean the centering of a window but like the top and bottom 1/3 placements also have one that goes into the middle 1/3. See attached screenshot.

screen shot 2015-01-12 at 9 40 05 am 2

jake-at-work avatar Jan 12 '15 21:01 jake-at-work

I believe

⌃⌥⌘C ⌃⌥⌘C ⌃⌥⌘C ⌃⌥⌘←

should work for you.

onsi avatar Jan 14 '15 18:01 onsi

That combination creates a window that is 2/3 tall and 2/3 wide in the middle against the left side. screen shot 2015-01-14 at 10 34 42 am 2

jake-at-work avatar Jan 14 '15 18:01 jake-at-work

Did you try to center again? Some applications enforce a min-size that may be the issue?

On Wednesday, January 14, 2015, pivotal-jbarrett [email protected] wrote:

That combination creates a window that is 2/3 tall and 2/3 wide in the middle against the left side. [image: screen shot 2015-01-14 at 10 34 42 am 2] https://cloud.githubusercontent.com/assets/6800791/5744954/e89a0f30-9bd9-11e4-9c38-f23c53ade69f.jpg

— Reply to this email directly or view it on GitHub https://github.com/onsi/ShiftIt/issues/4#issuecomment-69967417.

onsi avatar Jan 14 '15 18:01 onsi

That particular window toggles between 2/3 and maybe 7/8 when centering but will toggle to 1/3 on a down or up cycle.

So I tried your combination with another windows at that one toggled to 1/3 on the centering but left would not cycle to a full width, only 1/3 or 1/2.

It is so close but just not quite right. 

If I have time this weekend I might poke around in the code and see if I can hack something.

Thanks for you help!

jake-at-work avatar Jan 14 '15 19:01 jake-at-work