NSCell interiorBackgroundStyle wrong?
NSCell interiorBackgroundStyle wrong?
- Subject: NSCell interiorBackgroundStyle wrong?
- From: Seth Willits <email@hidden>
- Date: Fri, 31 May 2013 11:47:25 -0700
Perhaps only an Apple employee like Corbin can really answer this...
Consider an NSCell where:
• backgroundStyle is always set to NSBackgroundLight
• highlightColorWithFrame:inView: returns nil so that the cell itself draws no highlight
• drawsBackground is NO
In this case, shouldn't the interiorBackgroundStyle be NSBackgroundLight when the cell is both highlighted and not highlighted?
Trivial testing shows that it is actually NSBackgroundDark when the cell is highlighted and Light when not. In the case of NSTextField, this results in the wrong text color being used when the cell is highlighted (it uses white instead of black).
--
Seth Willits
_______________________________________________
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