• 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: Subclassing NSLevelIndicatorCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSLevelIndicatorCell


  • Subject: Re: Subclassing NSLevelIndicatorCell
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Thu, 28 Jun 2007 10:28:14 -0700

On Thursday, June 28, 2007, at 08:13AM, "Todd Freese" <email@hidden> wrote:
>My issue turned out to be an incorrect style setting on the cell.
>However, I have been able to subclass NSLevelIndicatorCell just fine.
>I override drawWithFrame and it is working fine under Tiger. Of
>course, I have only tried using the cell in a TableView. Here is my
>final code.

Interesting.  I was trying to override - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; that and -drawingRectForBounds: weren't called (at least for a relevancy indicator).  All I wanted to do is change the interior height of the cell so it didn't fill the entire row height.

thanks,
Adam

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Subclassing NSLevelIndicatorCell (From: Todd Freese <email@hidden>)
 >Re: Subclassing NSLevelIndicatorCell (From: "Adam R. Maxwell" <email@hidden>)
 >Re: Subclassing NSLevelIndicatorCell (From: Todd Freese <email@hidden>)

  • Prev by Date: Saving a borderless window frame to user defaults
  • Next by Date: Binding to NSTreeController
  • Previous by thread: Re: Subclassing NSLevelIndicatorCell
  • Next by thread: Parse Python class
  • Index(es):
    • Date
    • Thread