Re: please help: menu items with attributed strings are appearing blank
Re: please help: menu items with attributed strings are appearing blank
- Subject: Re: please help: menu items with attributed strings are appearing blank
- From: "Alan Smith" <email@hidden>
- Date: Tue, 7 Nov 2006 12:36:19 -0500
Hello,
Your code works fine for me. Try this instead:
NSDictionary *attributes = [NSDictionary dictionaryWithObject: [NSFont
fontWithName: @"Monaco" size: 9] forKey: NSFontAttributeName];
NSMutableAttributedString *attString = [[NSMutableAttributedString
alloc] initWithString: @"Testing 123" attributes: attributes];
If you use that take out the addAttribute stuff.
Enjoy, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unimportant, then it
shall evolve."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden