• 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: Colorful buttons of different shapes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Colorful buttons of different shapes


  • Subject: Re: Colorful buttons of different shapes
  • From: Graham Cox <email@hidden>
  • Date: Tue, 13 Apr 2010 22:18:41 +1000

On 13/04/2010, at 9:58 PM, Abhijeet Singh wrote:

> effect.Should I use NSMatrix of buttons?

It would be a straightforward solution.

> If yes than how can i set color and shape of buttons?


You'd probably need a NSButtonCell subclass. Drawing alternative appearances is pretty easy that only needs one or two overrides.

--Graham


_______________________________________________

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

References: 
 >Colorful buttons of different shapes (From: "Abhijeet Singh" <email@hidden>)

  • Prev by Date: Colorful buttons of different shapes
  • Next by Date: Re: UITabBarItem's frame?
  • Previous by thread: Colorful buttons of different shapes
  • Next by thread: [MEET] Columbia, MD CocoaHeads - April 13th
  • Index(es):
    • Date
    • Thread