Re: NSOutlineView - separator lines
Re: NSOutlineView - separator lines
- Subject: Re: NSOutlineView - separator lines
- From: Roland King <email@hidden>
- Date: Fri, 27 Mar 2015 14:43:15 +0800
> On 27 Mar 2015, at 14:34, Alex Kac <email@hidden> 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 2015-03-27 00.31.00.png?dl=0
>
> https://www.dropbox.com/s/4eha0ohbf9id0xb/Screenshot 2015-03-27 00.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 (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