Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
- Subject: Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 6 Jun 2001 11:16:05 +0200
On mardi, juin 5, 2001, at 03:39 PM, Stefan Arentz wrote:
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.
It's a CustomView in IB so initWithFrame is called.
Since there doesn't seem to be any sign pointing this as the correct
behavior, let's go for a bug report.