Re: CALayer autoresizing behaviour

2009-01-26 Thread Michael A. Crawford
Joe, I don't see you setting the needDisplayOnBoundsChange property, thus: layer.needDisplayOnBoundsChange = YES; The default value for this property is NO. -Michael -- We know as much about software quality problems as they knew about the Black Plague in the 1600s.

CALayer autoresizing behaviour

2009-01-21 Thread Joe Wildish
All, I'm having trouble getting a CALayer to resize automatically to fill its superlayer. I have the following code snippet: layer = [CALayer layer]; layer.layoutManager = [CAConstraintLayoutManager layoutManager]; layer.autoresizingMask = kCALayerWidthSizable |