Re: Problems centering window
Re: Problems centering window
- Subject: Re: Problems centering window
- From: Mike Abdullah <email@hidden>
- Date: Sat, 20 May 2006 11:59:55 +0100
Thanks joar, that's fixed it nicely.
It hadn't occurred to me to look at something like that!
Mike.
On 20 May 2006, at 11:41AM, j o a r wrote:
On 20 maj 2006, at 11.04, Mike Abdullah wrote:
I have tried calling [[self window] center] at various points in
the window controller subclass - windowDidLoad, loadWindow,
showWindow, but with all of them I occasionally get a slight
visual artifact whereby the window appears in its original
location and immediately "jumps" to the centre of the screen.
You probably have the "Visible at launch time" checkbox enabled in
the nib file. If that's the case, I suggest you disable it. It's
mostly useful for simple single-window applications, and not for
windows controlled by a window controller.
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden