On 2/17/07, Nicolas Roard <[EMAIL PROTECTED]> wrote:
On 2/17/07, Guenther Noack <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm having a bit of trouble with NSTextView. When I resize a NSTextView
> to be bigger, the lines automatically get longer. But when I scale it
> down again, it doesn't automatically fit the automatic line break to the
> new view size. Do you know how to solve that? The problem is currently
> present in Typewriter, Grrr and (IIRC) DictionaryReader.

Uh... does it do that with Ink, by curiosity ? I don't remember
noticing that problem on Typewriter, but perhaps I overlooked that.
What happend is that the NSLayoutManager is using a bigger area than
the visible area -- but normally, all that should be managed
automatically by NSTextView, unless you're toying with NSLayoutManager
and friends ?

 I remember if I set up the NSTextView manually,
 I have to set the width of NSTextView to very very big
 and set NSScrollView to deal with the wrapping.
 And there are a couple settings to get it right.
 But I have not idea how to do that in Gorm.
 I think you can check some older version of Ink
 before it is rewritten with Gorm.

 Yen-Ju


--
Nicolas Roard
"La perfection, ce n'est pas quand il n'y a plus rien à ajouter, c'est
quand il n'y a plus rien à retrancher." -- Antoine de St-Exupéry

_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev


_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to