• 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: Full screen tiny issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Full screen tiny issue


  • Subject: Re: Full screen tiny issue
  • From: "Shawn Erickson" <email@hidden>
  • Date: Tue, 27 Jun 2006 08:12:09 -0700

On 6/27/06, Bobby B <email@hidden> wrote:
Hey guys

I'm trying to get my app to run full screen.  I want the title bar and
menu bar to go away.  This works well:

SetSystemUIMode(kUIModeAllHidden, nil);

My windows, in Interface Builder, are all locked in at 0,0. However,
when I run the app, there is a tiny gap (about 4 pixels) underneath
the bottom of the window and the actual bottom of the scren (eg, you
can see the background wallpaper under the window)

Do you know what may be causing this?

Likely the windows are being placed in what is considered the visible area of the screen and those pixels along the bottom are from the hidden dock (it keeps a few pixels along the bottom even when hidden).

It could be an issue with the timing of your call to SetSystemUIMode
and when the window(s) are loaded/visible.

Anyway if you programmatically set the frame of you window(s) to the
frame of the target screen (remember folks can have more then one
screen) you should be fine.

-Shawn
_______________________________________________
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


References: 
 >Full screen tiny issue (From: "Bobby B" <email@hidden>)

  • Prev by Date: Re: Compositing to custom view with variable 'pen' and 'paper' colours.
  • Next by Date: Re: adding action names in FirstResponder : MyDocument.nib vs. MainMenu.nib
  • Previous by thread: Full screen tiny issue
  • Next by thread: RE: Full screen tiny issue
  • Index(es):
    • Date
    • Thread