• 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
SetAspectRatio Display size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SetAspectRatio Display size


  • Subject: SetAspectRatio Display size
  • From: jean-michel daix <email@hidden>
  • Date: Wed, 31 Oct 2001 12:25:53 +0100

Hi,

In my awakeFromNib I use this code line to change the ratio of my window:

[mainWindow setAspectRatio:NSMakeSize(4.0, 3.0)];

The problem is when I use my application, set my window to cover the entire
screen and then reduce the size of my Display from 1024x768 to 800x600. The
app bug and quit. If I delete this only line no problem (the window is to
big for the screen but the app doesn't quit).

Those someone experience the same problem, is it a bug or am I wrong ?


-----------------------------------
jean-michel daix / <email@hidden>
Sorry, I9m French !

visit <http://www.adforum.com>


  • Follow-Ups:
    • SetAspectRatio Display size
      • From: jean-michel daix <email@hidden>
  • Prev by Date: Re: SmallSockets
  • Next by Date: SetAspectRatio Display size
  • Previous by thread: Re: SmallSockets
  • Next by thread: SetAspectRatio Display size
  • Index(es):
    • Date
    • Thread