Re: A Stack of Editors
Re: A Stack of Editors
- Subject: Re: A Stack of Editors
- From: Keary Suska <email@hidden>
- Date: Sat, 04 Oct 2014 09:23:10 -0600
On Oct 3, 2014, at 8:27 PM, Charles Jenkins <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden