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

Re: NSOutlineView floating group row question


  • Subject: Re: NSOutlineView floating group row question
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 14 Jun 2014 14:32:09 -0500

On Jun 14, 2014, at 1:03 PM, Bill Cheeseman wrote:

> 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.

Is the textField outlet of the table cell view connected to the text field?  (It should be by default, but maybe you broke the connection.)

-Ken


_______________________________________________

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: 
 >NSOutlineView floating group row question (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: NSOutlineView floating group row question
  • Next by Date: Implicitly unwrapped optionals
  • Previous by thread: Re: NSOutlineView floating group row question
  • Next by thread: Any examples of -[NSScrollView addFloatingSubview:]?
  • Index(es):
    • Date
    • Thread