• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Window positioning and screen resizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window positioning and screen resizing


  • Subject: Re: Window positioning and screen resizing
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 14 May 2013 01:19:05 -0500

On May 13, 2013, at 7:57 PM, Rick Mann wrote:

> It seems that Cocoa or the OS or someone repositions my windows with some rules when the screen resolution changes. Does anyone know what the rules are? Stuff is kept in roughly the same quadrant of the screen, near as I can tell, and perhaps the offset within the quadrant is adjusted by some factor, but it seems to be repeatable (that is, windows don't crawl with repeated changes).

I believe the top-left corner is kept in the same relative position to the top-left corner of the screen, unless that would leave part of the window off-screen.  If it would, then the top-left corner is moved to get the window fully on-screen, unless the window is too large to fit entirely on screen.  In that case, the top-left corner is moved to a few pixels in from the top-left corner of the screen (excluding the menu bar).  I don't recall if the window is resized to fit on the screen or just left with its bottom and/or right side off the screen.


> Is this documented somewhere? I couldn't even think of how to search for this (my feeble attempts turned up nothing).

I could swear I've seen a rough description of this somewhere, but I'm not finding it now.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Window positioning and screen resizing
      • From: Rick Mann <email@hidden>
References: 
 >Window positioning and screen resizing (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Changing Subview Order Prevents Dragging
  • Next by Date: Re: Window positioning and screen resizing
  • Previous by thread: Re: Window positioning and screen resizing
  • Next by thread: Re: Window positioning and screen resizing
  • Index(es):
    • Date
    • Thread