Re: Wrap NSTableView text
Re: Wrap NSTableView text
- Subject: Re: Wrap NSTableView text
- From: Drew McCormack <email@hidden>
- Date: Fri, 18 Jan 2002 18:19:24 +0100
This triggers a question about a problem I need to solve soon:
Can I get cells in NSTableViews and/or NSOutlineViews to wrap AND grow
to multiple lines as necessary? Or are these views incapable of
handling rows with varying heights?
There have been quite a few discussions about this. To my knowledge,
nobody has been able to create a subclass of NSTableView that allows
varying heights, though several people have tried, including myself.
Text can be made to wrap and grow, but the row will not grow with it;
the text will just scroll out of view.
OmniOutliner has the sort of thing your want, but people at Omni told me
they had to write there own TableView class (7000 lines!).
Some other places where you might find useful stuff is Gnustep and
Misckit. These have their own table views.
Drew McCormack