Re: TextView resize
Re: TextView resize
- Subject: Re: TextView resize
- From: Alex Keresztes <email@hidden>
- Date: Tue, 12 Mar 2002 11:20:55 -0600
Thanks but what if I dont have an NSScrollView attached to my textview?
Basically what im trying to accomplish is that if the [textview
visiblerect] is
smaller than the [textview frame], i want to resize the textview so that
the
visible rect is the size of the textview frame and all of the contents
of the
textview are displayed.
Alex
On Tuesday, March 12, 2002, at 11:00 AM, Matt Neuburg wrote:
On Sun, 10 Mar 2002 23:43:53 -0600, Alex Keresztes <email@hidden>
said:
How do I resize a NSTextView programmatically to a specific size?
With setFrameSize. But you probably won't see much happen when you do
this.
An NSTextView is typically the document view of an NSScrollView, and it
is
this that you are probably wishing to resize. And you do that with (you
guessed it) setFrameSize. m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.