• 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
Re: Setting intercell spacing in NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting intercell spacing in NSBrowser


  • Subject: Re: Setting intercell spacing in NSBrowser
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 6 May 2008 08:07:35 -0700


On 5 May '08, at 11:31 PM, Martin Redington wrote:

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).

The browser is probably setting it to a default value later on when it initializes iself. Why not just set it in your controller's - windowDidLoad or -awakeFromNib method?


—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

  • Follow-Ups:
    • Re: Setting intercell spacing in NSBrowser
      • From: Corbin Dunn <email@hidden>
References: 
 >Setting intercell spacing in NSBrowser (From: "Martin Redington" <email@hidden>)

  • Prev by Date: Re: Threading - How its done?
  • Next by Date: Re: Blob Detection with Core Image
  • Previous by thread: Setting intercell spacing in NSBrowser
  • Next by thread: Re: Setting intercell spacing in NSBrowser
  • Index(es):
    • Date
    • Thread