Ah, ok I guess that is understandable even if it is somewhat inconvenient. Thanks for the info.

Jeff

On Aug 21, 2008, at 8:39 AM, Corbin Dunn wrote:


On Aug 20, 2008, at 9:16 PM, Jeff Wilcox wrote:

I generally am pretty good at web mining or hacking solutions to weird cocoa things, but this one has me a bit puzzled.

I want to use groups in an NSOutlineView that is set up with Source List highlighting. However, I am also using horizontal grid lines, and for some reason the drawing of the cell gets shifted down by a few points for groups which looks really bad relative to the horizontal grid lines.

Notes:
1. It doesn't happen for groups without Source List highlighting.
2. While the cell frame gets shifted, its not just the cell. The background drawn with the highlighting gets the same shift down.
3. Its an absolute shift - independent of the row height.


The shift is to match the HI specification for how it should look. Using grid lines is not part of the source list look, so it was never designed to work well with it. You'll have to draw your own, in drawBackgroundInClipRect:

corbin




Any ideas of how to get rid of this? _______________________________________________


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to