Re: Setting the position of new windows
Re: Setting the position of new windows
- Subject: Re: Setting the position of new windows
- From: Seth Willits <email@hidden>
- Date: Wed, 13 Mar 2013 15:29:11 -0700
On Mar 13, 2013, at 2:38 PM, Steve Mills wrote:
>> I think you want to use -setShouldCascadeWindows:NO.
>
> That's an idea. I was hoping there was some way to say "this is the frame for the first new window, but all others should respect it AND then go ahead and cascade down from there," because I'd still like to cascade the windows from that calculated position but hopefully without having to write all the code that Apple already wrote to cascade windows and ensure that they's still 100% onscreen in the first place.
The exact behavior you describe is the behavior I see when simply setting the window frame in windowDidLoad.
--
Seth Willits
_______________________________________________
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