Re: Indentation bug in NSOutlineView with source-list highlighting?
Re: Indentation bug in NSOutlineView with source-list highlighting?
- Subject: Re: Indentation bug in NSOutlineView with source-list highlighting?
- From: Laurent Daudelin <email@hidden>
- Date: Fri, 29 Jan 2010 12:32:49 -0800
On Jan 29, 2010, at 12:03, Jens Alfke wrote:
> I've been running into an intermittent bug involving NSOutlineViews with the source-list highlight mode. In some cases the indentation of second-level items is wrong: only a few pixels to the right instead of the specified number (usually 16). You can see a screenshot here; note that the bottom two items are too far to the left:
> http://chromium.googlecode.com/issues/attachment?aid=-3811668264974864615&name=Picture+75.png&inline=1
>
> This only seems to happen only when there are just two levels of hierarchy (top-level and sub-items), and if you add a third level, the view redraws correctly and then stays correct even if the third level goes away later.
>
> I've only seen this on 10.6.2, but I've now received a bug report for it that comes from 10.5.8.
>
> Is this a known issue? Is there a reliable workaround? (Setting the indent level at awakeFromNib time does not help. I'm tempted to try adding and then immediately removing a subfolder :-p )
I had a lot of problems getting one to work and display properly. I always thought it was me doing something wrong. I ended up setting the intercell spacing to 6.0, 6.0 and the indentation to 24 in IB. It is now displaying correctly, haven't had the problem anymore.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
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