• 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: resizing window containing NSView with CALayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resizing window containing NSView with CALayer


  • Subject: Re: resizing window containing NSView with CALayer
  • From: julius <email@hidden>
  • Date: Mon, 08 Aug 2011 12:35:33 +0100

On 8 Aug 2011, at 11:23, Graham Cox wrote:

> OK, I downloaded the project (tip: always get rid of the build folder before posting a project - it makes the difference between a 5 MB download and one that's only a few K, which on your server, added up to many minutes).
Sorry about that.
Have replaced them.
>
> Result - it works completely correctly and normally. The view resizes with the window and redraws as expected.
>
> Whatever the problem you're having is, it's not to do with the code itself. Try doing a clean build and trying again.

Then that is truly a mystery.
I've cleaned and rebuilt.
When I go and drag the resize handle to make the window as small as I can make it, i.e. so the window's content rect has zero height then the view misbehaves, i.e. the top of the view shifts from being some 100 pixels below the title bar to being 0 pixels below it!

Amazing.
Must have done something to my machine then: Mac Pro, OS X 10.6.8  XCode 3.2.6

thanks for your efforts
I was going to put a constraint on window size anyway but now that is essential.
best wishes

Julius


http://juliuspaintings.co.uk



_______________________________________________

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: resizing window containing NSView with CALayer
      • From: Graham Cox <email@hidden>
References: 
 >resizing window containing NSView with CALayer (From: julius <email@hidden>)
 >Re: resizing window containing NSView with CALayer (From: Graham Cox <email@hidden>)
 >Re: resizing window containing NSView with CALayer (From: julius <email@hidden>)
 >Re: resizing window containing NSView with CALayer (From: Graham Cox <email@hidden>)
 >Re: resizing window containing NSView with CALayer (From: julius <email@hidden>)
 >Re: resizing window containing NSView with CALayer (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: CoreData "I/O error for database: no such table"
  • Next by Date: Re: CFURLWriteDataAndPropertiesToResource as root?
  • Previous by thread: Re: resizing window containing NSView with CALayer
  • Next by thread: Re: resizing window containing NSView with CALayer
  • Index(es):
    • Date
    • Thread