NSTokenField with NSSmallControlSize in a Table View
NSTokenField with NSSmallControlSize in a Table View
- Subject: NSTokenField with NSSmallControlSize in a Table View
- From: Philip Dow <email@hidden>
- Date: Mon, 16 Jul 2007 15:26:52 -0700
I understand that issues concerning token fields and table views have
been touched on before and have elicited a basically consistent
response: "not fully functional." Nevertheless, I'm working on this
with a 10.4.10 installation and have everything working except for
one annoyance.
It seems that the token field cell I'm using in my table view ignores
the value set for controlSize. The cell always draws the tokens as
though that value were NSRegularControlSize. The problem is, of
course, that that the token is clipped by rows whose height is too
small for it.
I've done a lot of investigating here, including a look at the AppKit
header files for NSTokenAttachment and NSTokenAttachmentCell, but I
haven't been able to get these tokens to draw any smaller. I've tried
posing a custom subclass for the attachments but I'm still not
figuring this one out. Is there anyone with some experience in this
area who could tell me what I need to override to get those small
tokens to draw instead of the regular sized ones?
-Phil
_______________________________________________
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