Re: Trouble with NSSplitView

2008-10-08 Thread Jonathan Hess
On Oct 8, 2008, at 4:59 AM, Dave Fernandes wrote: Hi Jon, Given your explanation, I now don't understand why my split view works at all. I can resize my views to zero and back up again without having to jump to zero after reaching the minimum size. Another question: what does Mail do when

Re: Trouble with NSSplitView

2008-10-08 Thread Dave Fernandes
Hi Jon, Given your explanation, I now don't understand why my split view works at all. I can resize my views to zero and back up again without having to jump to zero after reaching the minimum size. Another question: what does Mail do when it jumps to zero? Does it remove the subview from

Re: Trouble with NSSplitView

2008-10-07 Thread Andre Masse
Thanks a lot for the explanation Jon. This makes it clear now. Thanks also to Dave. It was good to know I wasn't the only one struggling with this. Andre Masse On Oct 7, 2008, at 22:43, Jonathan Hess wrote: On Oct 7, 2008, at 4:44 PM, Dave Fernandes wrote: I had the same problem. The fix

Re: Trouble with NSSplitView

2008-10-07 Thread Jonathan Hess
On Oct 7, 2008, at 4:44 PM, Dave Fernandes wrote: I had the same problem. The fix was to recreate the view in IB. Seems to be a bug in IB, but I never tried to repeat the problem once it was fixed. This isn't a problem with IB, it also isn't unique to split views. The problem has to do wit

Re: Trouble with NSSplitView

2008-10-07 Thread Dave Fernandes
Is the part of the view with the buttons inside an NSScrollView? It should be scrollable if you are going to resize it with the splitview. If it is not scrollable, then you will have the problem you describe. Dave On Oct 7, 2008, at 8:59 PM, Andre Masse wrote: Tried your suggestion and it

Re: Trouble with NSSplitView

2008-10-07 Thread Andre Masse
Tried your suggestion and it worked... almost. I now have trouble with the buttons under the text view. If I bring the divider all the way up, I need to bring the divider farther than it was to display the buttons. For example, if the divider was at 200 pixels from the top before "closing"

Re: Trouble with NSSplitView

2008-10-07 Thread Dave Fernandes
I had the same problem. The fix was to recreate the view in IB. Seems to be a bug in IB, but I never tried to repeat the problem once it was fixed. Dave On Oct 7, 2008, at 5:41 PM, Andre Masse wrote: Hi, I have set up in IB a window with 3 split views. The main split view (with a vertic

Trouble with NSSplitView

2008-10-07 Thread Andre Masse
Hi, I have set up in IB a window with 3 split views. The main split view (with a vertical divider) contains 2 splits (horizontal divider): ** * * 3 * * 1 * *