Just tried it, and [indicator setDoubleValue: 4.5] ends up showing 5 stars (setFloatValue gives same result). I'll probably have to make my custom control :(

Stefano


On Jan 29, 2009, at 11:24 AM, Matt Gough wrote:


On 29 Jan 2009, at 11:13, Stefano Pigozzi wrote:

Hello,

Is there a way to display "half ratings" with NSLevelIndicator? For example having a rating of 4.5 would correspond to 4 stars and a half. It would be cool because I have to display some ratings on a scale from 0 to 10.


Not tried it here, but have you tried calling [indicator setDoubleValue:4.5]?

Matt


_______________________________________________

Cocoa-dev mailing list ([email protected])

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