• 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: [splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)];
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)];


  • Subject: Re: [splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)];
  • From: Ryan Stevens <email@hidden>
  • Date: Sat, 14 Sep 2002 09:39:41 -0700

On Saturday, September 14, 2002, at 12:11 AM, Scott Anguish wrote:

On Saturday, September 14, 2002, at 01:33 AM, Greg Casey wrote:

I tried that too, but it didn't change the behavior. The documentation says that the default value for "autoresizesSubviews" is YES, anyway.



I think what you are trying to do is set the resizing behaviour on the split view itself rather than on the views within it.. yes?

What you want to do is look at -setAutoresizingMask: in NSView. You'll need to construct the appropriate bitwise ORing of the values for the behaviour you want...

These are basically the various settings for the springs in Interface Builder.


Oh, you mean like what's done in the subject line? ;-)

For what it's worth I'm not having trouble creating a split view on the fly exactly like what you want. Since I'm lazy I even named my split view splitView and copy/pasted what's in the subject line...

I still don't know what the problem could be.
_______________________________________________
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: [splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)]; (From: Scott Anguish <email@hidden>)

  • Prev by Date: Get image location of a mouse click
  • Next by Date: Open firmware to BootX, how?
  • Previous by thread: Re: [splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)];
  • Next by thread: Re: [splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)];
  • Index(es):
    • Date
    • Thread