Indentation bug in NSOutlineView with source-list highlighting?
Indentation bug in NSOutlineView with source-list highlighting?
- Subject: Indentation bug in NSOutlineView with source-list highlighting?
- From: Jens Alfke <email@hidden>
- Date: Fri, 29 Jan 2010 12:03:28 -0800
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 )
—Jens_______________________________________________
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