On Apr 4, 2016, at 8:39 AM, David Catmull <davidcatm...@gmail.com> wrote:
> 
> Is setting the highlightedTableColumn property on an NSOutlineView supposed 
> to work? I’m expecting the column background to darken, but nothing seems to 
> happen.
> 
> Showing the column headers didn’t help (I normally have them hidden), and 
> neither did setting a sort key for the column.

Are you sure a (rather small) sort indicator didn't appear in the column's 
header?  Basically, the style of column highlighting (to indicate sorting) has 
changed.  It doesn't darken the background of the column.  It just displays a 
small indicator in the header.

> I’m trying to use the column highlight to indicate a view state unrelated to 
> sorting…

Don't do that.  Don't try to hijack features intended for one semantic for 
another.  First, you'll confuse the users.  Second, you subject yourself to the 
framework changing how the feature is implemented.  It would presumably still 
be suitable for the intended semantic, but may not be for yours.

If you're using a view-based outline view, try using a custom table row view 
that overrides -drawBackgroundInRect:.

Regards,
Ken


_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to