gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on NSToolbar


From: David Chisnall
Subject: Re: Question on NSToolbar
Date: Sat, 3 Jan 2009 10:38:08 +0000

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 size of the window, when switched on. It could
as well decrease the size of the contents view. Which should we
implement in the future?

Stick to the Mac OS X behavior which is to increase the window's height and leave the content size as well as the window frame's origin unchanged.

I agree ... but it would be good to test what actually happens on MacOS-X, and if the window is resized we should cope with parts of the winodw going off screen in the same way as MacOS-X

OS X keeps the top of the window in the same place and grows the body downwards, except in the case where the body is already near the bottom of the screen, in which case it grows the top upwards.

If a window with a toolbar is the height of the screen or more then its size is not reduced when the toolbar is hidden, nor increased when the toolbar is added. In both of these cases, the views are resized.

Such a simple feature, so many special cases. I don't know if we need to reproduce all of them, but I can't see any significant reasons why not.

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]