Re: Flat button style?
Re: Flat button style?
- Subject: Re: Flat button style?
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 10 Nov 2003 13:53:41 +0100
On lundi, novembre 10, 2003, at 12:15 PM, 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:
[...]
* Day/week/month view selection buttons in iCal (looks like an
NSSegmentedControl, but again it's not the same "flat" look)
It's a custom control with images. iCal is working on 10.2 where
NSSegmentedControl do not exist.
Don't use the iPhoto implementation as a model if you want to build a
similar control. It's just a piece of BUGS.
Use the iCal 1.5.x implementation as a model, it's working perfectly.
I wrote one as a subclass of NSButton. I can't say it was a perfect
idea but there was timing issue... If I had time, I would write it as a
subclass of NSControl with a subclass of NSCell and a dedicated IB
palette.
_______________________________________________
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.