• 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
Resizing a Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resizing a Window


  • Subject: Resizing a Window
  • From: Mark Thomas <email@hidden>
  • Date: Thu, 24 Jun 2004 12:02:07 +0100
  • Organization: Coderus Ltd

Hi,
What's the correct way to change a window dimensions ???, as I'm using
setFrame, which seems to work fine for the window, but any of mycontrols
within the window get moved.

e.g. One window has the Safari control in it, when I designed it in IB, so
it top,left are 0,0 (locked it), and it right and bottom 800,600, and window
has a size of 50,50. I call setFrame of a larger size and when I open the
window, the control isn't at the top,left of 0,0, but half way down the
window.

I've checked that I don't have any of those object resizing flags on, as I
cannot have the window, and control the same size.

I found if I setOrigin of the control back up top,left, it works OK, but
still leaves the question who move my web control.

Any Ideas
Thanks
Mark.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Resizing a Window
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: Re: Slightly more advanced Cocoa learning resources
  • Next by Date: Re: Slightly more advanced Cocoa learning resources
  • Previous by thread: Re: Slightly more advanced Cocoa learning resources
  • Next by thread: Re: Resizing a Window
  • Index(es):
    • Date
    • Thread