Hello,

I encounter a problem with an NSPopUpButtonCell in a NSTableView

The column containing this cell is binded to an NSUserDefaultsController (for Content and Content Values keys), @"Selected Value" is stored using coredata and a property with a decimal attribute

The values of the nsuserdefaultscontroller are nsdecimalnumber

I want to show localized values in the popupbuttoncell menu ie: 10.45 => 10,45

The popupbuttoncell only show values with the american format: using the . as decimal separator

This is the same thing if i use an nsnumberformatter for this tablecolumn with setLocalizesFormat set to YES or if i use an nsarraycontroller instead of an nsuserdefaultscontroller where values are created using decimalNumberWithString: locale:

Is there a way to force NSPopUpButtonCell to use localized values ?

Thank You

Stéphane


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to