On 13 Dec 2014, at 16:45, Bill Cheeseman <wjcheese...@gmail.com> wrote: >> On Dec 13, 2014, at 10:20 AM, Navneet Kumar <navnee...@me.com> wrote: >> >> So if you take a view-based outline view (or maybe table view as well) and >> fill a table column’s view’s background with NSRectFill() or any other and >> add as sub view a transparent text field, upon refresh the text field and >> the rest of the background will differ in color as long as selection >> highlight is set to “Source List”. As if source list color superimposes on >> the area other than the text field. > > I believe the "Source List" setting means that an NSVisualEffectView lies > behind the text field. The only documentation I have been able to find about > NSVisualEffectView is (1) in the AppKit release note for Yosemite (which > apparently is still only available for Developer Preview 5) and (2) in the > NSVisualEffectView reference document. In one of those documents, there is > some discussion of what you have to do to avoid unwanted color changes in > text fields with NSVisualEffectView in back.
I think you override -(BOOL) allowsVibrancy to return NO to turn off the NSVisualEffectView’s … err … effect. Cheers, -- Uli Kusterer “The Witnesses of TeachText are everywhere...” http://zathras.de _______________________________________________ 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