Re: Programmatic layout and creating round buttons?
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.