• 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: Flat button style?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flat button style?


  • Subject: Re: Flat button style?
  • From: Brian Hannan <email@hidden>
  • Date: Mon, 10 Nov 2003 03:42:57 -0800

On Nov 10, 2003, at 3:15 AM, Reni Puls wrote:

Hello everyone,

is there a way to create buttons using the "flat" style, as shown in some of the newer Apple applications? Some examples of this style are:

* The "+" and "-" buttons near the bottom of the accounts preference pane in Mail (these look almost like the "Square Button" type in IB, but they are not the same)

Those square buttons (also in the Font panel and a few other locations), along with the "cog" action button you find in the Mail drawer and Font panel, are all custom images. You can find copies in Mail.app and other Apple apps and frameworks. There are images of buttons pressed and unpressed. Hopefully they'll be standard widgets in Cocoa since Apple is suggesting as good UI they should be used.

Right now I'm using an NSButton with custom images for both pressed and unpressed states of "+" and "-". Works perfect, although feels like a "hack" since I have copies of the images in my bundle. Oddly enough, like most the other Apple apps which use them as well.

--
Brian Hannan
Chief Admiral of Uncle Jam's Navy

"One nation under a groove, gettin' down just for the FUNK of it."
_______________________________________________
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: 
 >Flat button style? (From: René Puls <email@hidden>)

  • Prev by Date: Flat button style?
  • Next by Date: Re: Flat button style?
  • Previous by thread: Flat button style?
  • Next by thread: Re: Flat button style?
  • Index(es):
    • Date
    • Thread