Affects of [interior]BackgroundStyle
Affects of [interior]BackgroundStyle
- Subject: Affects of [interior]BackgroundStyle
- From: Ryan McGann <email@hidden>
- Date: Wed, 26 Jun 2013 04:19:31 +0000 (GMT)
Hi all,
I have a UI that is drawn on a a mainly white background. The text is comprised of a couple of different fonts other than Lucida Grande. The UI designer noticed that the fonts in the UI are rendering a bit thicker than what was mocked up in Photoshop.
I played around and was able to get the text inside some NSTableViews to look pretty close to the mockups using a kludge. Creating a custom NSTableRowView and overriding interiorBackgroundStyle to return NSBackgroundStyleDark (despite the fact that it's actually a white background) seems to help a great deal.
But it's a kludge, and only works for the table views & controls anyway. I'm more interested in knowing what the affects of [interior]BackgroundStyle are, and how it affects the text rendering. Specifically, the stroke on the text is a couple of pixels thinner when [interior]BackgroundStyle is set to NSBackgroundStyleDark.
Anybody know what exactly is being done by setting the background style, and how I can apply the same affect everywhere in my application?
Thanks,
Ryan
email@hidden
_______________________________________________
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