• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: SubClass of NSPopUpButtonCell and NSSmallControlSize (From: Stefan Arentz <email@hidden>)

  • Prev by Date: Re: LoadNib not working
  • Next by Date: Re: Subclassing NSTableView
  • Previous by thread: Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
  • Next by thread: Connecting actions to menu
  • Index(es):
    • Date
    • Thread