• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Rating-style LevelIndicator not showing dots
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rating-style LevelIndicator not showing dots


  • Subject: Rating-style LevelIndicator not showing dots
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 23 Mar 2008 23:10:29 -0700

I've put an NSLevelIndicator into a panel, configured it to show iTunes-style star ratings, and made it editable. Unfortunately it doesn't draw the dots where stars would go; so if the current rating is zero stars, the control is completely invisible. This presents a UI problem, as the user has no idea there's something there to click.

I remember I previously ran into this a few years ago and reported it — it turned out to be a bug in the cell's implementation in AppKit. The cell suppresses the dots when it's in a table view and the row it's in isn't selected [as in iTunes], but the code for this didn't consider the case where it _wasn't_ in a table view, with the result that it always suppresses the dots.

Unfortunately I can't remember the workaround, or whether there even is one. Has anyone else dealt with this?

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Prev by Date: Re: How do I disable this warning: "local declaration of 'varname' hides instance variable"
  • Next by Date: Re: How do I disable this warning: "local declaration of 'varname' hides instance variable"
  • Previous by thread: NSScrollView with layer-backed subview - sync problems on resize
  • Next by thread: Perform selector on thread
  • Index(es):
    • Date
    • Thread