I've subclassed NSView to create a 'container' view (which I've called TRTransitionView) which I'm using to contain and display two subviews. These subviews transition between one another at the press of a button (with the undisplayed subview sliding in and replacing the current subview, and vice versa). This works for the most part, but I'm running into issues when resizing my applications window.
Within IB I have set my TRTransitionView sizing set to stretch to the bounds of my window, and ideally I would like its subviews to stretch to the bounds of the TRTransitionView container. The issue I'm seeing is that after resizing my applications window, the TRTransitionView subviews become clipped and incorrectly offset within their parent container. Similarly, the contents of my subviews seem to 'flash' when resizing occurs (as if Core Animation is being used when the TRTransitionView (and subsequent subviews are resized). The behaviour I'd expect would be to have both subviews placed at the top-left hand corner of the TRTransitionView, and both would stretch to fit the TRTransitionViews bounds (with the TRTransitionView, in turn, stretching to fit the window). To hopefully make things clearer, I've placed the contents of my TRTransitionView class at: http://pastebin.org/205848. Any help would be extremely appreciated. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com