• 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
Strange results when resizing window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange results when resizing window


  • Subject: Strange results when resizing window
  • From: Austin Sarner <email@hidden>
  • Date: Fri, 14 Jan 2005 15:13:01 -0500

Hey,

I have a preferences style window that uses a toolbar for switching between panes in a tab view. This works fine, but I tried to implement resizing - and it resizes, but in a very odd way. It resizes everything from the bottom as opposed to the top. If anyone could point me in the right direction (I have messed with the origin of the nsrect but with no success). I'm looking for resizing similar to that in the preferences of mail.app. Thanks a bunch and if its something really simple then please excuse my ignorance ;).

NSRect myRect;
myRect = [mainWindow frame];
myRect.size.width = 546;
myRect.size.height = 301 + toolbarHeight;
[mainWindow setFrame:myRect display:YES animate:YES];
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Strange results when resizing window
      • From: Andreas Mayer <email@hidden>
    • Re: Strange results when resizing window
      • From: Andrew Farmer <email@hidden>
    • Re: Strange results when resizing window
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: menuItem connection to other nib
  • Next by Date: Re: Strange results when resizing window
  • Previous by thread: Re: Finding the sender of an AppleEvent in Cocoa app on 10.2.8 or greater
  • Next by thread: Re: Strange results when resizing window
  • Index(es):
    • Date
    • Thread