Custom NSCell selection and click issues
Custom NSCell selection and click issues
- Subject: Custom NSCell selection and click issues
- From: "Justin Williams" <email@hidden>
- Date: Fri, 14 Mar 2008 16:36:50 -0500
Greetings,
I have built a custom NSCell that displays the isCompleted and title
of the CalTask items on a user's Mac. I've got two issues with the
cell that i can't seem to figure out.
1. When a user selects one of the rows, the shadow on a row one or two
above will disappear. It look's like its being overdrawn, but I'm not
sure where it's causing it.
2. Selecting the checkbox is not as reliable as I would like. I am
determining if the user clicks the cell, by grabbing an NSPoint of the
selection and seeing if it is in the checkbox's rect. It usually
registers a click every other selection.
I've uploaded a small sample project with the custom cell that should
show the behaviors.
http://secondgearllc.com/attachments/taskcell.zip
Any help would be appreciate.
Thanks!
--
-
Justin Williams
email@hidden
work: http://www.secondgearllc.com/
play: http://www.carpeaqua.com
_______________________________________________
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