• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Affects of [interior]BackgroundStyle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Core Data Reverse Engineering KickStarter Project
  • Next by Date: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Previous by thread: Re: Still can't delete CoreData object
  • Next by thread: UnitTest: object Should be Dealllocated
  • Index(es):
    • Date
    • Thread