Setting intercell spacing in NSBrowser
Setting intercell spacing in NSBrowser
- Subject: Setting intercell spacing in NSBrowser
- From: "Martin Redington" <email@hidden>
- Date: Tue, 6 May 2008 07:05:01 +0100
Where is the appropriate place to set the intercellSpacing on the
(NSMatrices of) an NSBrowser?
I would like my browser to show the gap in between multiple selected
rows that you see in the Finder et al.
I tried subclassing NSMatrix, and over-riding
-[NSMatrix initWithFrame: mode:prototype:numberOfRows:numberOfColumns:]
to set the intercellSpacing. I can see it getting called, but I don't
get any gaps between rows, and when I browse the NSMatrix with
F-Script, the intercellSpacing shows up as (0, 0).
--
http://www.mildmanneredindustries.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