Re: Textwindows
Re: Textwindows
- Subject: Re: Textwindows
- From: "Alastair J.Houghton" <email@hidden>
- Date: Sat, 6 Sep 2003 20:56:36 +0100
On Saturday, September 6, 2003, at 08:22 pm, April Gendill wrote:
I have a question
once you programatically create a scroll view with a textview inside
it, how do you get the text view to resize when the window is resized?
it does it automatically when the view is created in IB but I don't
know how to set this up in code
Look at NSView's -setAutoresizesSubviews: and -setAutoresizingMask:
methods.
Kind regards,
Alastair.
_______________________________________________
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.
References: | |
| >Textwindows (From: April Gendill <email@hidden>) |