Re: Problems with a Layer backed NSView in a NSScrollView

2008-06-20 Thread Kai
if I set the scrollview to be layer backed. Any ideas? --- On Thu, 19/6/08, Scott Anguish <[EMAIL PROTECTED]> wrote: From: Scott Anguish <[EMAIL PROTECTED]> Subject: Re: Problems with a Layer backed NSView in a NSScrollView To: [EMAIL PROTECTED] Date: Thursday, 19 June, 2008, 5:50

Re: Problems with a Layer backed NSView in a NSScrollView

2008-06-20 Thread Moray Taylor
> From: Gordon Apple <[EMAIL PROTECTED]> > Subject: Re: Problems with a Layer backed NSView in a NSScrollView > To: cocoa-dev@lists.apple.com > Cc: "Moray Taylor" <[EMAIL PROTECTED]> > Date: Thursday, 19 June, 2008, 10:14 PM > As I stated in my recent post, I imp

Re: Problems with a Layer backed NSView in a NSScrollView

2008-06-19 Thread Brian Christensen
On Jun 19, 2008, at 5:14 , Gordon Apple wrote: I've tried a variety of things including regenerating the CALayers, but so far haven't been able to get the layers to scale to the coordinates of the underlying view. Again, I'll probably figure it out eventually, but this stuff just shouldn't

Re: Problems with a Layer backed NSView in a NSScrollView

2008-06-19 Thread Gordon Apple
As I stated in my recent post, I implemented my own transform to flip the layer since nothing else worked. That worked, and my view is in a scrolling window. What I'm currently having trouble with is scaling the view. My window is similar to that in Sketch, with a popup scale factor in the l

Re: Problems with a Layer backed NSView in a NSScrollView

2008-06-19 Thread Moray Taylor
ed to work before I tried the above line makes no difference if I set the scrollview to be layer backed. Any ideas? --- On Thu, 19/6/08, Scott Anguish <[EMAIL PROTECTED]> wrote: > From: Scott Anguish <[EMAIL PROTECTED]> > Subject: Re: Problems with a Layer backed NSView in a NS

Problems with a Layer backed NSView in a NSScrollView

2008-06-19 Thread Moray Taylor
Hi there! I've been tearing my hair out trying to figure this out, so hopefully someone will take pity! Basicaly, I've a CALayer-backed custom view, which works pretty great, I use a transform to flip it, and it works fine, the problem happens when I put it in a NSScrollView If I put it i