Re: main window disappears on resize
Re: main window disappears on resize
- Subject: Re: main window disappears on resize
- From: Keary Suska <email@hidden>
- Date: Mon, 11 Oct 2010 15:17:18 -0600
On Oct 11, 2010, at 1:36 PM, Shane wrote:
>> 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.
>>
>
> I have a minimum size set like 800x400, but max is 0x0, but it's also
> unchecked. Something else I've noticed is that this happens in the IB
> simulator as well, so I don't believe it's my code, but something in
> IB.
And if you set the max values, does the problem go away? I think I came across a problem where max values were being set to 0, even when unchecked in IB.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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