[Top][All Lists]

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

[bug #24601] NSToolbar: [NSWindow contentView] should not return a view

From: Richard Frith-Macdonald
Subject: [bug #24601] NSToolbar: [NSWindow contentView] should not return a view which contains the toolbar in it once the toolbar is opened.
Date: Tue, 21 Oct 2008 14:16:13 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1

Follow-up Comment #4, bug #24601 (project gnustep):

The whole idea of having a separate view for decorations was to allow us to
draw things outside of the window's content view ... so putting the toolbar
there is completely correct (assuming that the toolbar on macos-x is not a
subview of the content view).
The decoration view should always exist (irrespecrtive of whether X draws
window decorations).  It's just that, when x draws decorations it is normally
the same size as the content view.  Adding toolbar support would just mean
that the code for converting between content view coordinates and window
coordinates would need to be adjusted to allow for the content view being a
bit smaller.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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