On Oct 3, 2014, at 8:27 PM, Charles Jenkins <cejw...@gmail.com> wrote:

> What I’m trying to make is a scroll view containing a vertical stack of 
> editors for RTF subdocuments. Each of the text views should size itself to 
> fit the width of the scroll view, but grow vertically as much as necessary to 
> display its full content.
> 
> The more I think about it, the more I think what I need is a single-column 
> table view within which each cell holds a text editor. But each row, text 
> view, and text container should resize to fit the text held within. How can I 
> achieve that?

View-based NSTableView? There is a way that you can "tickle" the table view 
into resizing the row although you will have to figure out how and when to 
determine the appropriate size. Another problem to watch put for is whether 
resizing ends the editing session.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to