• 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: Programatically setting resize springs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically setting resize springs


  • Subject: Re: Programatically setting resize springs
  • From: Angela Brett <email@hidden>
  • Date: Tue, 4 Feb 2003 22:43:43 +1300

At 3:17 AM -0500 4/2/2003, Roarke Lynch wrote:
I've been fiddling with a window that will do some programatic resizing. The problem is that the resize/placement springs set in IB aren't always correct. I tried manually setting the frame origins of the buttons/text/etc... but I cannot quite get it to work right. Is there a way to set the resize/placement springs programatically and if not, anyone got any good pointers on how to go from here?

It looks like you need to look at the documentation for NSView's setAutoresizingMask and autoresizingMask instance methods.
_______________________________________________
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: 
 >Programatically setting resize springs (From: Roarke Lynch <email@hidden>)

  • Prev by Date: Re: getting a selector for string
  • Next by Date: Disadvantages of Bridging Java in Objective-C Cocoa Apps
  • Previous by thread: Programatically setting resize springs
  • Next by thread: Re: Sorting an NSOutlineView
  • Index(es):
    • Date
    • Thread