Re: How do I change the default scrolling behavior
Re: How do I change the default scrolling behavior
- Subject: Re: How do I change the default scrolling behavior
- From: David Vierra <email@hidden>
- Date: Tue, 30 Apr 2002 14:26:57 -1000
On Tuesday, April 30, 2002, at 08:16 AM, Timothy Standing wrote:
I have a custom NSView inside a NSScrollView in my applications
main window. The NSScrollView is set so it resizes whenever the window
is resized, but my custom view does not.
[snip]
It seems therefore that I am missing something really obvious
here. Does anyone know the correct way to implement this.
The correct way to implement autoresizing is either set it in the "Size"
inspector in IB, or do it programmatically:
[myCustomView setAutoResizeMask:
NSViewWidthSizable |
NSViewHeightSizable];
Look up the autoresizing constants in NSView.html for more information.
HTH,
_______________________________________________
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.