On Jan 13, 2010, at 3:46 PM, Mike Chambers wrote:
> [...]
> I then add this to the NSPredicateEditor, and it works as expect.
> However, the left column in the editor for this row shows
> "professions" (the key value). I want it to show "Profession". If I
> was using IB this would be very simple, as I could just rename it in
> the popup.
> 
> How can I set the label for the left hand name in the editor?

You can simply change the title of the menu item in the NSPopUpButton.  You can 
access the first popup button with [[template templateViews] objectAtIndex:0].

-Peter

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to