Displaying a custom sheet

2011-04-12 Thread Luc Van Bogaert
Hi, I'm having some trouble to correctly display a custom sheet. Here's the relevant code I'm using. This code is run from the application delegate. newGameLevelSheet is a IBOutlet property defined with the assign modifier. if (!self.newGameLevelSheet) [NSBundle

Re: Displaying a custom sheet

2011-04-12 Thread Alvaro Costa Neto
Hi, Check if the Visible At Launch checkbox for your sheet is unchecked in Interface Builder. If this checkbox is checked, your sheet will appear floating in the middle of the screen on the first run, instead of below the window title bar as intended. Best regards, Alvaro Costa Neto Em

Re: Displaying a custom sheet

2011-04-12 Thread Laurent Daudelin
On Apr 12, 2011, at 14:25, Luc Van Bogaert wrote: Hi, I'm having some trouble to correctly display a custom sheet. Here's the relevant code I'm using. This code is run from the application delegate. newGameLevelSheet is a IBOutlet property defined with the assign modifier. if