Attributed title for NSPopUpButtonCell within NSTableView?
Attributed title for NSPopUpButtonCell within NSTableView?
- Subject: Attributed title for NSPopUpButtonCell within NSTableView?
- From: Glenn Zelniker <email@hidden>
- Date: Thu, 3 Aug 2006 15:52:18 -0400
I have a column within a NSTableView whose cell is a
NSPopUpButtonCell. In other words, the entry for each row in that
particular column is a pop-up menu. I'm able to populate the pop-up's
menu and I'm also able to set the pop-up's title and delegate without
any problem (well, the delegate required a little hacking);
everything works exactly as it should. But now I want to customize
the app's appearance a little bit, including using an attributed
string for the pop-up menu's title (I want to be able to set the text
color). I can't get this to work, even though somewhere up the
inheritance chain NSPopUpButton cell responds to -setAttributedTitle.
Has anyone here had any luck putting an attributed title on a pop-up
cell that lives in a table?
Glenn Zelniker
_______________________________________________
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