Re: NSButton ical Like
Re: NSButton ical Like
- Subject: Re: NSButton ical Like
- From: Emmanuel Pinault <email@hidden>
- Date: Wed, 19 Nov 2008 20:27:15 -0800
Andre,
Nice! This looks like what I am trying to build :) I guess I ll take
a close look at this. For now I was using the regular DatePicker
pointed out earlier but that one what I am looking for
Manu
On Nov 19, 2008, at 3:17 PM, Andre Masse wrote:
I've not used it but this may worth taking a look at:
http://code.google.com/p/calendarcontrol/
Andre Masse
On Nov 19, 2008, at 14:37, Emmanuel Pinault wrote:
How do I make a button like the mini calendar in ical (the one that
show the days and when one is selected , it shows the day with a
blue gradient)?
I looked at the NSButton and NSButtonCell and nothing can set the
background directly nor having an image and text on top... My
understanding is that it must be a custom button made by Apple. So
I looked inside the iCal.app, I can see they use some image that
somehow but be stretched to fit. but have no idea how to do it.
Would I need to extend the NSButton class and redo the drawing
myself? If so , how would I create a background using a strectched
image?
Thanks
Manu
_______________________________________________
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
_______________________________________________
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