• 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
SubClass of NSPopUpButtonCell and NSSmallControlSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SubClass of NSPopUpButtonCell and NSSmallControlSize


  • Subject: SubClass of NSPopUpButtonCell and NSSmallControlSize
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 5 Jun 2001 11:32:25 +0200

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
{
[super initWithFrame:frame];

[[self cell] setControlSize:NSSmallControlSize];

return self;
}

Cool ?

I hate Cocoa when it comes to NSCell...


  • Follow-Ups:
    • Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
      • From: Stefan Arentz <email@hidden>
    • Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
      • From: Stefan Arentz <email@hidden>
  • Prev by Date: Re: how to disable an indeterminate progress bar?
  • Next by Date: Re: how to disable an indeterminate progress bar?
  • Previous by thread: Re: C++ framework <-> Cocoa
  • Next by thread: Re: SubClass of NSPopUpButtonCell and NSSmallControlSize
  • Index(es):
    • Date
    • Thread