Re: Springs and struts with splitview
Re: Springs and struts with splitview
- Subject: Re: Springs and struts with splitview
- From: email@hidden (Sebastian Krauß)
- Date: Tue, 29 Jan 2002 07:43:17 +0100
hi,
i'm kind of glad someone else asked because i'm have the very problem at
the moment.
the subviews of my view in one of the views in the splitview just shift
around until they're all atop each other.
the only setting with springs and struts i found that doesn't shift
things around is one where things get shifted out of the view to the top
(i obviously got it split horizontally)
i'd like them to get shifted out to the bottom, though, as if the
divider just covered them but didn't push them
So far as I can say, you have to ensure that programmatically (see the
NSSplitView delegate methods to do so).
that only kind of woks. you can make sure the views stay at a certain
size with the delegate methods when the divider is being dragged, but
not when the window is being resized because your delegate methods don't
get called when the window in in resize.
at the moment, i use the window's delegate methods to make sure my
"critical view" is always bigger than the size at which things start to
look strange. but that results in the divider jumping around when you
resize the window while i just want it to stay where it is.
any ideas?
sebastian