• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I change the default scrolling behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 16:18:42 -1000

Sorry, I misunderstood your question. Ignore this.


On Tuesday, April 30, 2002, at 02:26 PM, David Vierra wrote:

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.
_______________________________________________
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: 
 >Re: How do I change the default scrolling behavior (From: David Vierra <email@hidden>)

  • Prev by Date: Re: Notification problem
  • Next by Date: Re: Notification problem
  • Previous by thread: Re: How do I change the default scrolling behavior
  • Next by thread: Changing Icons
  • Index(es):
    • Date
    • Thread