• 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
Blurry UILabel text as programmatic subview of UITableViewCell's contentView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Blurry UILabel text as programmatic subview of UITableViewCell's contentView


  • Subject: Blurry UILabel text as programmatic subview of UITableViewCell's contentView
  • From: Alex Reynolds <email@hidden>
  • Date: Mon, 11 Jan 2010 23:02:32 -0800

I am adding a UILabel instance as a subview of my custom UITableViewCell instance's contentView property.

When I select the cell, the row is highlighted blue, except for the background of the label. The label text is sharp, but the background is white for the bounds of the contentView.

When I set the label and contentView backgroundColor property to "[UIColor clearColor]", the UILabel text becomes blurry.

How do I set the label and/or contentView background color to be clear, to allow the row highlight color to come through, while still keeping the label text sharp?

One suggestion I read elsewhere was to round() the label's frame struct values, but this did not have any effect.

Thanks for any advice._______________________________________________

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: Custom sheet question - which variable?
  • Next by Date: prepareSavePanel - save as or save to?
  • Previous by thread: Re: Cocoa-dev Digest, Vol 7, Issue 52
  • Next by thread: prepareSavePanel - save as or save to?
  • Index(es):
    • Date
    • Thread