Re: NSLevelIndicator Rating with "half" stars
Re: NSLevelIndicator Rating with "half" stars
- Subject: Re: NSLevelIndicator Rating with "half" stars
- From: Stefano Pigozzi <email@hidden>
- Date: Thu, 29 Jan 2009 11:56:21 +0100
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@hidden)
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:
This email sent to email@hidden