NSBrowser and cell size
NSBrowser and cell size
- Subject: NSBrowser and cell size
- From: Greg Hoover <email@hidden>
- Date: Tue, 30 Jan 2007 02:04:57 -0800
I'd like to use two different cell types in an NSBrowser. I've
successfully subclassed one implementation and it works great. The
problem comes with the second cell type. The 2nd cell type is much
larger in size and meant to be similar in function to the preview in
Finder. In the createRowsForColumn: delegate I'm setting the cell
class and cell size of the matrix to the appropriate subclass -- this
is confirmed by the fact that the correct subclass draw routine is
being called and I've also verified that the cellSize of the matrix
is correct. The issue is that whenever drawInteriorWithFrame is
called, the frame that is passed is of height 18, rather than the
expected, larger height. My subclass also overrides the cellSize
method and returns the desired size. I'm obviously missing something.
Any help would be appreciated. Thanks.
Greg
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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