Re: NSView positioning problems

2008-11-16 Thread Andre Masse
Quincey you were right on the money: the new view had a wrong flag (anchored to the bottom). Thanks a lot to everyone, Andre Masse On Nov 16, 2008, at 14:41, Quincey Morris wrote: There's not quite enough information here to be certain what's going on, but in a sense it shouldn't matter *w

Re: NSView positioning problems

2008-11-16 Thread Andy Lee
On Nov 16, 2008, at 3:30 PM, Quincey Morris wrote: On Nov 16, 2008, at 12:16, Andy Lee wrote: Does -[NSView replaceSubview:with:] take care of these? IDK, but I see nothing in the documentation to suggest that it does anything but deal with the subview ordering. Which makes me realize, if

Re: NSView positioning problems

2008-11-16 Thread Quincey Morris
On Nov 16, 2008, at 12:16, Andy Lee wrote: Does -[NSView replaceSubview:with:] take care of these? IDK, but I see nothing in the documentation to suggest that it does anything but deal with the subview ordering. If it does, that would be useful information to know. ___

Re: NSView positioning problems

2008-11-16 Thread Andy Lee
On Nov 16, 2008, at 2:41 PM, Quincey Morris wrote: There's not quite enough information here to be certain what's going on, but in a sense it shouldn't matter *when* you do the replacement, as long as it's an *exact* replacement at the time when you do it. In particular, that means: -- set

Re: NSView positioning problems

2008-11-16 Thread Quincey Morris
On Nov 16, 2008, at 10:25, Andre Masse wrote: In a nib, I have a view (OutputView) which contains a table view and a custom view (OutputToolbarView) which will be loaded from another nib. This view will end up in a NSTabView. So in IB, I placed a dummy custom view above the table view like

Re: NSView positioning problems

2008-11-16 Thread Iceberg-Dev
On Nov 16, 2008, at 7:25 PM, Andre Masse wrote: Hi all, In a nib, I have a view (OutputView) which contains a table view and a custom view (OutputToolbarView) which will be loaded from another nib. This view will end up in a NSTabView. So in IB, I placed a dummy custom view above the tab

NSView positioning problems

2008-11-16 Thread Andre Masse
Hi all, In a nib, I have a view (OutputView) which contains a table view and a custom view (OutputToolbarView) which will be loaded from another nib. This view will end up in a NSTabView. So in IB, I placed a dummy custom view above the table view like this: - |