Changeset [074e9f70a0ccd571f23d25f28df054d7867707e4] 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...

Committed by Alexander Ljungberg

  • M AppKit/CPWindow/_CPStandardWindowView.j
  • M AppKit/CPWindow/_CPWindowView.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins