Re: Flat button style?
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.