Splitview + Scrollview pinning
Splitview + Scrollview pinning
- Subject: Splitview + Scrollview pinning
- From: Ben Lachman <email@hidden>
- Date: Fri, 18 Jan 2008 18:58:27 -0500
I have a splitview that encloses two custom views. One is a pretty
straight forward, just drawing some text inside a frame with some some
effects. The other, which does more custom drawing is enclosed in a
scroller-less scrollview. This is all created programatically,
including the window they're in. Everything works well until I drag
the divider of the splitview. When I do this the top view resizes
properly, but the bottom view is clipped at the top instead of staying
pinned where it is like other views. When I look at the frame/bounds
rects for the views it seems the clipview's origin is staying constant
and it's size is changing. The splitview and scrollview are flipped
but the clipview and custom view is not. Anyone know a workaround for
this kind of issue?
Thanks,
->Ben
_______________________________________________
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