I've got an NSTableView that works fine, except that it doesn't go to scroll mode soon enough. As the enclosed screen shot shows, it is only displaying part of the last line, but hasn't decided to use a scroll bar.
My suspicion is that this has to do with the fact that I am setting the font to fixed pitch $acell->setFont(NSFont->userFixedPitchFontOfSize(0)); BTW, I'm making this call each time I return a table cell. This seems wrong, but I've been unable to make a generic change work. Clues would be appreciated... Anyway, I think I need to inform someone of the fact that the rowHeight has changed. OTOH, I'm not sure how to do this. It _seems_ like I should be able to do something like this: $font = NSFont->userFixedPitchFontOfSize(0); $tmp = $font->boundingRectForFont()->{size}->{height}; $table->setRowHeight($tmp); but I'm not sure how to get the height. Certainly, the way I'm trying isn't right... -r -- email: [EMAIL PROTECTED]; phone: +1 650-873-7841 http://www.cfcl.com/rdm - my home page, resume, etc. http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc. http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection
%NSTableView.pdf
Description: application/applefile
NSTableView.pdf
Description: Adobe PDF document