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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com