• 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: Creating small controls programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating small controls programmatically


  • Subject: Re: Creating small controls programmatically
  • From: Michael Monscheuer <email@hidden>
  • Date: Wed, 03 Dec 2003 18:29:42 +0100

Andrew Mellinger wrote:

Andrew Mellinger wrote:
>
> I am creating NSButtonCells programmatically and adding them to a
> NSTableView. Is there a way to set these to small or mini style as
> one would via IB?
>
> I can't seem to find reference anywhere to this in the docs.
>

Yes, you can set the control size by using NSCell's setControlSize:.
You get the cell of a Button using -cell method of NSControl, NSButton inherits from...

MiMo
--
=======================================================
And refashioning the fashioned
lest it stiffen into iron
is work of endless vital activity.
[Goethe]

mailto:email@hidden
mailto:email@hidden

All about CALAMUS DTP suite:
http://www.calamus.net

=======================================================
_______________________________________________
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: 
 >Creating small controls programmatically (From: Andrew Mellinger <email@hidden>)

  • Prev by Date: Cocoa / Obj-C and Zip files
  • Next by Date: NSProxy vs plain old NSObject
  • Previous by thread: Re: Creating small controls programmatically
  • Next by thread: Re: Creating small controls programmatically
  • Index(es):
    • Date
    • Thread