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 protected]
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to