Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
- Subject: Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
- From: Stefan Arentz <email@hidden>
- Date: Tue, 5 Jun 2001 15:39:16 +0200
On Tue, Jun 05, 2001 at 11:32:25AM +0200, Stiphane Sudre wrote:
>
I'm curently subclassing NSPopUpButtonCell and am trying to make this
>
cell small with NSSmallControlSize.
>
>
It's not working. The Menu is still BIG.
>
>
in a sublclass of NSPopUpButton:
>
>
- (id) initWithFrame: (NSRect) frame
>
{
Oh btw, if this is instantiated from a nib file then initWithFrame
will never be called. That might actually be your problem. You can
use awakeFromNib of initWithCoder instead for your custom init code.
Stefan