Re: Re: Mini controls
Re: Re: Mini controls
- Subject: Re: Re: Mini controls
- From: "Bruce Johnson" <email@hidden>
- Date: Fri, 6 Oct 2006 21:27:39 -0700
I did this:
[[self cell] setFont: [NSFont systemFontOfSize: [NSFont
systemFontSizeForControlSize: NSMiniControlSize]]]
in the initialization routines (awakeFromNib) of a subclass of
NSPopupButton class
On 10/6/06, Rob Keniger <email@hidden> wrote:
On 07/10/2006, at 9:57, Daniel Jalkut wrote:
> You didn't say whether you tried it or not, so I'd be curious to
> know whether calling "setControlSize:NSMiniControlSize" on the cell
> causes it, thereafter, to draw as a mini sized cell.
In my experience it does, yes.
--
Rob Keniger
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
----
Bruce Johnson
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden