Blurry UILabel text as programmatic subview of UITableViewCell's contentView
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