Re: Creating small controls programmatically
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.