Re: Question on NSToolbar

2009-01-03 Thread Wolfgang Lux
Fred Kiefer wrote: I would expect that we always have the menu as the topmost view in the window, then the toolbar and last the actual contents view. Currently the toolbar increases the size of the window, when switched on. It could as well decrease the size of the contents view. Which should

Re: Question on NSToolbar

2009-01-03 Thread Richard Frith-Macdonald
On 3 Jan 2009, at 09:51, Wolfgang Lux wrote: Fred Kiefer wrote: I would expect that we always have the menu as the topmost view in the window, then the toolbar and last the actual contents view. Currently the toolbar increases the size of the window, when switched on. It could as well de

Re: Question on NSToolbar

2009-01-03 Thread David Chisnall
On 3 Jan 2009, at 10:02, Richard Frith-Macdonald wrote: On 3 Jan 2009, at 09:51, Wolfgang Lux wrote: Fred Kiefer wrote: I would expect that we always have the menu as the topmost view in the window, then the toolbar and last the actual contents view. Currently the toolbar increases the s

Re: Question on NSToolbar

2009-01-03 Thread Doug Simons
On Jan 2, 2009, at 2:55 PM, Fred Kiefer wrote: And I changed the code to resize the content view instead of resizing the whole window. I think this is what Apple is doing and it will lead to less flickery displays. Actually, when a toolbar is shown or hidden Apple resizes the window to accom