Changeset [074e9f70a0ccd571f23d25f28df054d7867707e4] by Alexander Ljungberg
Revision 074e9f70a0ccd571f23d25f28df054d7867707e4,
committed by Alexander Ljungberg
· November 17th, 2012 @ 12:06 AM
Fixed: incorrect - CPWindow
contentRectForFrameRect: and
frameRectForContentRect: for borderless windows with
toolbars.
The window views driving non standard windows (such as borderless or bridge windows) did not take the toolbar into account when calculating the content rect.
Apart from being wrong, this could lead to the content view overlapping the toolbar if the content view was set after the toolbar was prepared.
Perhaps the thought was that the base CPWindowView shouldn't
make assumptions about the placement and sizing of a toolbar and
leave that up to subclasses, but the CPWindowView tile method
already did.
https://github.com/cappuccino/cappuccino/commit/074e9f70a0ccd571f23...
2 changed files
-
M
AppKit/CPWindow/_CPStandardWindowView.j -
M
AppKit/CPWindow/_CPWindowView.j