• 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: Strange window behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange window behavior


  • Subject: Re: Strange window behavior
  • From: "McLaughlin, Michael P." <email@hidden>
  • Date: Thu, 11 Aug 2011 13:21:04 -0400
  • Acceptlanguage: en-US
  • Thread-topic: Strange window behavior

Thanks for the tip!

I do not have my own window controller but I do call


- (void)windowControllerDidLoadNib:(NSWindowController *) aController


whereupon I can call


[aController setShouldCascadeWindows:NO];

When I do that, the windows do not move :-)

On the other hand, after adjusting their initial positions, the windows (with two overlapping) now stretch across 1300 pixels.  I hope there are no displays narrower than that.

--
Michael P. McLaughlin

From: Jens Alfke <email@hidden<mailto:email@hidden>>
Date: Thu, 11 Aug 2011 11:48:07 -0400
To: Michael McLaughlin <email@hidden<mailto:email@hidden>>
Cc: "email@hidden<mailto:email@hidden>" <email@hidden<mailto:email@hidden>>
Subject: Re: Strange window behavior


On Aug 11, 2011, at 7:51 AM, McLaughlin, Michael P. wrote:

The window, created in Xcode 4, is set to be fixed from top and left.  However, every time it is reshown, it is staggered a bit down and to the right.

Does the window have an NSWindowController? If so, you’re probably running into the shouldCascadeWindows property. Set it to NO and things should go better.

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Strange window behavior
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: Strange window behavior (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Main menu update problem (SOLUTION)
  • Next by Date: Re: Strange window behavior
  • Previous by thread: Re: Strange window behavior
  • Next by thread: Re: Strange window behavior
  • Index(es):
    • Date
    • Thread