Re: CALayers inside NSSplitView (clipping issue) [SOLVED]

2008-09-27 Thread John Clayton
For posterity. To solve this clipping problem, I wrapped all of the views that I have in a superview instance of NSView. I.e. 'IB -> Layout -> Embed Objects In -> Custom View'. That stops the clipping weirdness from occurring. Don't ask me why, because I don't know - but I made this cha

Re: CALayers inside NSSplitView (clipping issue)

2008-09-24 Thread John Clayton
Hi All, Someone kindly suggested that I post the question again, but that this time I make some sense :-) Good idea I say... So - step by step, first a series of facts to set the scene: 1. i have an NSSplitView 2. both of the views that this split view contains use CALayer instances 3. in t

CALayers inside NSSplitView (clipping issue)

2008-09-23 Thread John Clayton
Hi All, I have a vertically laid out NSSplitView which is hosting two NSViews, both of which contain CALayer instances. In the bottom view, there's a scroll view - and I can drag stuff within the view - which in turn causes the view to grow. Sometimes, the splitview doesn't clip the CALa