• 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: Changing height of rows in NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing height of rows in NSBrowser


  • Subject: Re: Changing height of rows in NSBrowser
  • From: "John C. Randolph" <email@hidden>
  • Date: Tue, 9 Nov 2004 19:45:23 -0800


On Nov 9, 2004, at 7:09 PM, Mark Alldritt wrote:



Hi,

How does one change the height of rows in all columns of an NSBrowser?
Nothing obvious has jumped out at me in my searches of NSBrowser the
NSBrowser API.

I'm not sure of this, (never had occasion to do it), but I believe you'll need to send -setCellSize: to the NSMatrix instance in each column of the browser in question. I don't know if NSBrowser's layout code will second-guess you on that, though. You can get to each matrix with -matrixInColumn:.


NSBrowser is one of the older classes in the AppKit, so it can be a bit more trouble to use than controls like NSTableView.

-jcr


John C. Randolph <email@hidden> (408) 974-8819 Sr. Cocoa Software Engineer, Apple Worldwide Developer Relations http://developer.apple.com/cocoa/index.html


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Changing height of rows in NSBrowser (From: Mark Alldritt <email@hidden>)

  • Prev by Date: Changing height of rows in NSBrowser
  • Next by Date: Re: binding nsmatrix selection
  • Previous by thread: Changing height of rows in NSBrowser
  • Next by thread: XML Parser - Link is dead...
  • Index(es):
    • Date
    • Thread