• 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: Programmatic layout and creating round buttons?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatic layout and creating round buttons?


  • Subject: Re: Programmatic layout and creating round buttons?
  • From: Allan Odgaard <email@hidden>
  • Date: Fri, 26 Jul 2002 11:04:43 +0200

On torsdag, juli 25, 2002, at 04:18 , David Martin wrote:

Secondly I need to use one of these round buttons used everywhere in Mac OS X (e.g. with a lock, question mark, lupe, plus or minus sign on it) -- but how do I create this in my own program? I can find it in IB's palette (and need to set the small attribute for it to match the height of my other UI elements), but programatically I cannot find a 'small setting'.
You could use -[NSCell setControlSize:] on your button's cell, as in:

This method is only implemented by NSCell, NSTabView, NSScroller, and NSProgressIndicator.

None of these allow me to create a round button AFAIK :-(
_______________________________________________
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.

References: 
 >Re: Programmatic layout and creating round buttons? (From: David Martin <email@hidden>)

  • Prev by Date: Re: Invalidating Rects for redraw
  • Next by Date: about Panels and windows
  • Previous by thread: Re: Programmatic layout and creating round buttons?
  • Next by thread: Expand/Collapse Button in IB?
  • Index(es):
    • Date
    • Thread