Re: Problems centering window
Re: Problems centering window
- Subject: Re: Problems centering window
- From: j o a r <email@hidden>
- Date: Sat, 20 May 2006 12:41:21 +0200
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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