• 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
Re: Why is my UIColor white actually gray?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is my UIColor white actually gray?


  • Subject: Re: Why is my UIColor white actually gray?
  • From: Alex Kac <email@hidden>
  • Date: Fri, 6 Mar 2009 15:00:50 -0600

Could it be anti-aliased?

On Mar 6, 2009, at 2:57 PM, James Cicenia wrote:

Hello -

I have a table view with dynamic subclassed cells :

- (id)initWithFrame:(CGRect)aRect reuseIdentifier:(NSString *)identifier
{
if (self = [super initWithFrame:aRect reuseIdentifier:identifier])
{
self.selectionStyle = UITableViewCellSelectionStyleNone;
[self setImage:[[UIImage imageNamed:@"WF-MyLocBu- DistBack.png"]autorelease]];


UIImageView *imageView = [[UIImageView alloc] initWithImage: produceImage];
[self.contentView addSubview:imageView];
[imageView release];

CGRect frame = CGRectMake(60, 0, 140, 60);
produceName = [[UILabel alloc] initWithFrame:frame];
produceName.backgroundColor = [UIColor clearColor];
produceName.opaque = YES;
produceName.textAlignment = UITextAlignmentLeft;
produceName.textColor = [UIColor whiteColor];
produceName.font = [UIFont boldSystemFontOfSize:16];
[self.contentView addSubview:produceName];
[produceName release];

}

return self;
}



BUT The font is hard to read and actually gray and not white?

Thanks
James Cicenia
_______________________________________________

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

Alex Kac - President and Founder Web Information Solutions, Inc.

"The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true."
-- James Clabell





_______________________________________________

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


  • Follow-Ups:
    • Re: Why is my UIColor white actually gray?
      • From: James Cicenia <email@hidden>
References: 
 >Why is my UIColor white actually gray? (From: James Cicenia <email@hidden>)

  • Prev by Date: Why is my UIColor white actually gray?
  • Next by Date: Re: Using NSExceptionHandler causes a linker error
  • Previous by thread: Why is my UIColor white actually gray?
  • Next by thread: Re: Why is my UIColor white actually gray?
  • Index(es):
    • Date
    • Thread