NSButton ical Like
NSButton ical Like
- Subject: NSButton ical Like
- From: Emmanuel Pinault <email@hidden>
- Date: Wed, 19 Nov 2008 11:37:21 -0800
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