Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [adb6404a0fd9e7625b4c55603f4102983cd76b88] by Alexander Ljungberg

Revision adb6404a0fd9e7625b4c55603f4102983cd76b88, committed by Alexander Ljungberg · October 14th, 2012 @ 01:20 PM

Support Cib/Interface Builder window positioning masks.

Without this feature windows could easily end up being placed outside of the screen/browser when loaded in Cappuccino due to e.g. the window position being 100 px from the bottom of a 1418 px tall screen but the browser only being 800 px.

This commit adds support for all "initial position" window masks in Interface Builder except "centre". Position can be specified in current screen space coordinates and then adjusted proportionally to the browser size, or adjusted while preserving a left or right margin and a top or bottom margin.
https://github.com/cappuccino/cappuccino/commit/adb6404a0fd9e7625b4...

5 changed files

  • M AppKit/CPWindow/CPWindow.j
  • M AppKit/Cib/_CPCibWindowTemplate.j
  • M Tests/Manual/CPButtonTest/Resources/MainMenu.cib
  • M Tests/Manual/CPButtonTest/Resources/MainMenu.xib
  • M Tools/nib2cib/NSWindowTemplate.j