• 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
Screensaver/view positioning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Screensaver/view positioning


  • Subject: Screensaver/view positioning
  • From: Phillip Hutchings <email@hidden>
  • Date: Thu, 29 Jan 2004 16:13:11 +1300

I'm making a screensaver that has a NSTextView positioned in it. I'm controlling the positioning using setFrame, it's set as a subview of the main view.

The problem is that the text isn't appearing on screen. I added some debug statements and got this. The top line is the frame I'm setting, the bottom is the new frame from the view immediately after:
2004-01-29 16:04:13.252 ScreenSaverEngine[3306] Frame is: 260.000000,600.000000,814.000000,532.000000
2004-01-29 16:04:13.254 ScreenSaverEngine[3306] New frame is: 260.000000,1310.000000,814.000000,177.000000

The y value is pushing it off screen, and I'm not setting it. Any ideas why?

--
Phillip Hutchings
email@hidden
http://www.sitharus.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Warning obsolete shouldCloseWindowController
  • Next by Date: two-part question: stylistic question+joint style
  • Previous by thread: Re: Warning obsolete shouldCloseWindowController
  • Next by thread: two-part question: stylistic question+joint style
  • Index(es):
    • Date
    • Thread