• 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: System Preferences window is wider in Leopard? How do you make a Tiger compatible UI?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Preferences window is wider in Leopard? How do you make a Tiger compatible UI?


  • Subject: Re: System Preferences window is wider in Leopard? How do you make a Tiger compatible UI?
  • From: "Tom Harrington" <email@hidden>
  • Date: Thu, 10 Apr 2008 14:35:08 -0600

On Wed, Apr 9, 2008 at 11:06 AM, Dave Camp <email@hidden> wrote:
> After designing the UI for a new System Preferences pane I've discovered
> that the window size in Leopard is 75 pixels wider than it was in Tiger or
> earlier OS releases. The net result appears to be that my shiny new UI is
> clipped on the right side in Tiger. Ugh. I've sent feedback that the docs
> are incorrect here and need to be updated...
>
>  In the mean time, what is the correct way to handle this?
>
>  From what I've read on the net adding springs in IB doesn't help. Would it
> be safe for me to resize the preferences window to be 75 pixels wider on
> Tiger while my pane is visible (and size it back down when my pane is
> deselected)?

Probably not a good idea.  Although the window width differs from
Tiger to Leopard, it's not supposed to be a resizable window.  If
you're going to run on Tiger you'll need to live with the narrower
window.

I was pretty annoyed when I found out that Leopard's System
Preferences wouldn't resize the pref pane view, even if you had
designed it to be resizable.  But that's the way it is.

>  Do I have to make my UI narrower and have an obnoxious amount of dead space
> around the edges on Leopard?

Maybe.  You can find out what the current window width is once your
preference pane has been loaded into the window.  Using something like
"[[[self mainView] superview] frame]" would give you the current
width, and if desired you could adjust mainView's frame appropriately.
 This would mean designing to Tiger's pref pane width, and then
expanding when running on Leopard.  Best to stick with looking up the
size instead of the OS version, because who knows what might happen in
10.6?

--
Tom Harrington
email@hidden
AIM: atomicbird1
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >System Preferences window is wider in Leopard? How do you make a Tiger compatible UI? (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: ObjC static member variable
  • Next by Date: Singletons on Leopard with GC
  • Previous by thread: Re: System Preferences window is wider in Leopard? How do you make a Tiger compatible UI?
  • Next by thread: Re: System Preferences window is wider in Leopard? How do you make a Tiger compatible UI?
  • Index(es):
    • Date
    • Thread