Skip navigation.
 
mlSplitview + Scrollview pinning
FROM : Ben Lachman
DATE : Sat Jan 19 00:58:27 2008

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

Related mailsAuthorDate
mlSplitview + Scrollview pinning Ben Lachman Jan 19, 00:58
mlRe: Splitview + Scrollview pinning Troy Stephens Jan 19, 01:24