Another NSOutlineView issue
Another NSOutlineView issue
- Subject: Another NSOutlineView issue
- From: Graham Cox <email@hidden>
- Date: Thu, 09 Aug 2012 09:10:52 +1000
I've just noticed another odd behaviour of NSOutlineView. This is on 10.8 and I've never noticed this before, so it might be something new.
When I click a turn-down triangle to open an outline item, all of the text draws in a slightly bigger font for the duration of the triangle's animation, then it goes back to normal. I'm using a custom text cell and it draws using the "small system font" which is only 11pts. I would estimate that the larger size is 12 or 13 pts - it's not much bigger.
Ah, I'm thinking this *could* be due to my previous observation about cells being copied using NSCopyObject. If the cells are copied during that animation for some reason, then perhaps the text settings for my custom cell are not being copied, since I'm alloc/initing a new cell in copyWithZone: instead of relying on super's implementation. I'll follow along with that line of thought....
--Graham
_______________________________________________
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