> On 27 Mar 2015, at 14:34, Alex Kac <a...@webis.net> wrote: > > I'm trying to get rid of NSOutlineView horizontal separator lines. > I've tried the following with no luck. > > self.outlineView.gridStyleMask = NSTableViewGridNone; > self.outlineView.gridColor = [NSColor clearColor]; > self.outlineView.intercellSpacing = NSZeroSize; > > https://www.dropbox.com/s/f6eteh5wgrou5kh/Screenshot%202015-03-27%2000.31.00.png?dl=0 > > https://www.dropbox.com/s/4eha0ohbf9id0xb/Screenshot%202015-03-27%2000.34.14.png?dl=0 > > Its possible its getting overwritten elsewhere, but so far I haven't > found anything. > > So…any tips? :D
Turn it off in interface builder, Horizontal Grid and Vertical Grid ==> None. That sets the gridStyleMask, so setting that in code should also work. Is outlineView non-nil when that code is called? _______________________________________________ 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