• 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
NSOutlineView floating group row question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView floating group row question


  • Subject: NSOutlineView floating group row question
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 14 Jun 2014 14:03:42 -0400

I have a view-based NSOutlineView with the Floats Group Rows setting turned on in Interface Builder. The outline view is the one supplied by the Source List object in the Xcode 5.1.1 Interface Builder library. It has Highlight set to the Source List style, and it includes two NSTableCellViews, one for the outline view's group rows and one for its regular rows.

It works fine, except for one thing: When the regular rows are scrolled under a "sticky" group row at the top of the outline view, the text of the normal rows is not dimmed. The visual effect is therefore terrible, because the words in the group row and the words in the underlying normal row are the same intensity.

In all of the examples I see, the underlying text is dimmed or faded by a substantial amount, for a nice visual effect. See for example Apple's TableViewPlayground sample code and the PXSourceList example at <https://github.com/Perspx/PXSourceList>. Examining the code and nib file settings in those examples, I don't see anything special to account for the dimming.

Can anybody explain the trick to me? I must be overlooking something in those examples.

--

Bill Cheeseman - email@hidden

_______________________________________________

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 floating group row question
      • From: Ken Thomases <email@hidden>
    • Re: NSOutlineView floating group row question
      • From: Quincey Morris <email@hidden>
    • Re: NSOutlineView floating group row question
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available
  • Next by Date: Re: NSOutlineView floating group row question
  • Previous by thread: Re: NSFileHandle stdin sends ∞ notifications of 0 bytes available
  • Next by thread: Re: NSOutlineView floating group row question
  • Index(es):
    • Date
    • Thread