• 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: small or mini NSSegmentedControl in textured windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: small or mini NSSegmentedControl in textured windows


  • Subject: Re: small or mini NSSegmentedControl in textured windows
  • From: Timothy Carl Buchheim <email@hidden>
  • Date: Wed, 3 Mar 2004 16:59:08 -0800

On Mar 3, 2004, at 11:51 AM, Joshua Scott Emmons wrote:

It seems as though NSSegmentedControl only has one size in textured windows. Setting it to small nor mini seems to have no effect.

But if you put a normal-sized NSSegmentControl in a textured window and compare it to the segment control in Address Book, you'll see Address Book's control is smaller. It doesn't look like Address Book's segmented control is "fake" (I don't see the graphics for it in the package), so does anyone have any idea how Apple managed to coerce the NSSegmentedControl to be small in the textured Address Book?

It looks fake to me. Try clicking on the already-selected segment. Note that it turns grey. Try clicking on the currently-selected segment of a real NSSegmentedControl. It turns dark blue. (assuming you haven't chosen the "graphite" appearance in System Preferences)

Nearly all of Apple's applications use fake segmented controls. This probably due to the relatively late development of the standard NSSegmentedControl. My guess is that they didn't finish implementing all the features of NSSegmentedCell (including the smaller sizes for textured windows) before the Panther release. After all, they didn't even manage to get it into Interface Builder.



--
Tim Buchheim System Administrator
Computer Science Department Phone: (909) 607-3485
Harvey Mudd College Fax: (909) 607-8364
1250 N Dartmouth Ave E-mail: email@hidden
Claremont, CA 91711 http://www.cs.hmc.edu/~tcb/
_______________________________________________
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.


References: 
 >small or mini NSSegmentedControl in textured windows (From: Joshua Scott Emmons <email@hidden>)

  • Prev by Date: Advice needed about a possible bug in NSMethodSignature or NSInvocation
  • Next by Date: Re: US / British English Localisations
  • Previous by thread: small or mini NSSegmentedControl in textured windows
  • Next by thread: Re: small or mini NSSegmentedControl in textured windows
  • Index(es):
    • Date
    • Thread