• 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: How to create the 'small' buttons programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create the 'small' buttons programmatically?


  • Subject: Re: How to create the 'small' buttons programmatically?
  • From: Nicholas Riley <email@hidden>
  • Date: Sat, 11 Jan 2003 16:19:48 -0600
  • Mail-followup-to: Troy Dawson <email@hidden>, email@hidden

On Sat, Jan 11, 2003 at 01:38:37PM -0800, Troy Dawson wrote:
> In IB I can check the 'small' checkbox to create small NSButtons, but
> what's the code combo to do this programmatically?

[[button cell] setControlSize: NSSmallControlSize];

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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: 
 >How to create the 'small' buttons programmatically? (From: Troy Dawson <email@hidden>)

  • Prev by Date: Re: NSTimer or double to int cast (Bug?)
  • Next by Date: Fun with componentsSeparatedByString!
  • Previous by thread: Re: How to create the 'small' buttons programmatically?
  • Next by thread: Re: How to create the 'small' buttons programmatically?
  • Index(es):
    • Date
    • Thread