Re: Creating small controls programmatically
Re: Creating small controls programmatically
- Subject: Re: Creating small controls programmatically
- From: Tim Hewett <email@hidden>
- Date: Wed, 3 Dec 2003 17:43:34 +0000
Andrew,
Check out this method in NSCell:
- (void)setControlSize:(NSControlSize)size
NSButtonCell is derived from NSActionCell, which in turn is derived
from NSCell, so your button cell will have this method. Agreed it is a
bit hard to find (it took me a while) but it is there, just further up
the
class hierarchy.
Tim.
P.S. How come iTunes manages to have mini sized checkboxes in
playlists, under Jaguar, when Jaguar doesn't support them? If I
write Panther software with checkboxes of this size, Jaguar displays
them as full size checkboxes... Huh?!
On 3 Dec 2003, at 17:00, email@hidden wrote:
Greetings!
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.
Thanks!
-Andrew
_______________________________________________
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.