Re: NSBrowser headache
Re: NSBrowser headache
- Subject: Re: NSBrowser headache
- From: Andy Lee <email@hidden>
- Date: Sun, 11 Apr 2004 13:48:48 -0400
On Apr 11, 2004, at 1:17 PM, Chuck Soper wrote:
Drew,
I haven't used NSBrowser, but the following code should increase the
row height of a matrix:
NSSize theCellSize = [theMatrix cellSize];
theCellSize.height += 20;
[theMatrix setCellSize:theCellSize];
[theMatrix sizeToCells];
And you can put this code (or something like it) in the
-browser:createRowsForColumn:inMatrix: method of the NSBrowser's
delegate.
I do something similar, except in my code I set the matrix's font. I
also send the matrix a -renewRows:columns: message at the end -- maybe
the -sizeToCells in Chuck's code would suffice instead.
--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.