• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems centering window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problems centering window
      • From: Mike Abdullah <email@hidden>
References: 
 >Problems centering window (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Problems during file writing or During Type Casting ?
  • Next by Date: Re: Problems centering window
  • Previous by thread: Problems centering window
  • Next by thread: Re: Problems centering window
  • Index(es):
    • Date
    • Thread