• 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: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit


  • Subject: Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
  • From: Iceberg-Dev <email@hidden>
  • Date: Sat, 25 Apr 2009 15:12:13 +0200


On Apr 22, 2009, at 8:16 PM, Corbin Dunn wrote:

[...]
There is no way to replace the outlinecell

How could one then draw the disclosure triangle in white

Leopard has a bug with them looking too dark; that is a known issue, and it will be fixed. There is no easy way to make them white, but in the -willDisplayOutlineCell method you can replace the image on the NSButtonCell.



(and correctly centered vertically) instead of black/dark gray (and incorrectly centered)?

Override frameOfOutlineCellAtRow: and place it where you want.

Your solution works. Thanks.

The only issues I have with it are:

- independence of resolution lost: By using code, I was able to have independence of resolution through bezier path. By changing the images, I'm stuck with fixed size image. I don't have Illustrator to create a PDF version of the triangles.

- feedback is not perfect: The non highlighted images can be changed. The highlighted state can not be changed or tuned.

But since it now builds and runs in 64-bit, I can't really complain.


_______________________________________________

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


  • Follow-Ups:
    • Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >[NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit (From: Iceberg-Dev <email@hidden>)
 >Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit (From: Corbin Dunn <email@hidden>)
 >Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit (From: Iceberg-Dev <email@hidden>)
 >Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: How to clone a mutable dictionary
  • Next by Date: Re: problems with live resize of NSTextView
  • Previous by thread: Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
  • Next by thread: Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
  • Index(es):
    • Date
    • Thread