Re: TextView Autoresizing Mask problems
Re: TextView Autoresizing Mask problems
- Subject: Re: TextView Autoresizing Mask problems
- From: Nik Youdale <email@hidden>
- Date: Thu, 26 Jan 2006 10:56:46 +1100
True.
What I'm actually creating is a custom view containing a textView as
well as a few other views (not shown in the code i posted), which is
then all enclosed within a scrollview. I've set up autoresizing in
this view, and everything resizes perfectly - except the textView.
Thats why I isolated it into a very simple view to try and fix the
problem. Has it maybe got something to do with the fact that an
NSTextView is 'flipped'?
- Nik
On 26/01/2006, at 10:08 AM, Darkshadow wrote:
On Jan 25, 2006, at 5:54 PM, Nik Youdale wrote:
Yep, tried that. Thats not the issue though. If i replace the
textView with some other view, it resizes fine. It appears that
there is something wrong with the way the textView autoresizes
itself, when both width and height re-sizing is enabled. I dont
understand, because a textView will resize perfectly if you add
one in IB.
- Nik
Well, yes, but when you're adding one via IB, you're really adding
a NSScrollView instance with a NSTextView instance set as its
document view. In fact, if you're wanting your text view to
scroll, you'll need to do this yourself.
Darkshadow
(aka Michael Nickerson)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden