Re: main window disappears on resize
Re: main window disappears on resize
- Subject: Re: main window disappears on resize
- From: Graham Cox <email@hidden>
- Date: Sun, 10 Oct 2010 10:46:21 +1100
On 09/10/2010, at 11:28 AM, Shane wrote:
> I have a document based application with a main window that, when I
> try to resize the window, the window just completely disappears.
One thing to check is that you don't have a maximum size set in IB that happens to be zero. After a resize it might be trying to enforce that, making the window shrink to nothing, rather than sending it offscreen. Can you log the frame size and origin after the resize? That would help you to determine where the window went.
--Graham
_______________________________________________
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