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 [7a6009f2e3fd928b086342eab16388b3c93a8b1a] by aparajita

Revision 7a6009f2e3fd928b086342eab16388b3c93a8b1a, committed by aparajita · July 11th, 2012 @ 06:19 AM

Merge pull request #1610 from slevenbits/text-clip-fix

Text clip fix

Currently when controls and text fields size to fit text, they use a to determine the correct height/width. Some browsers do not account for fractional pixels that arise from antialiasing. Cappuccino views must clip their contents, so the fractional pixels get clipped, and depending on the font this can be quite noticeable.

This patch adds 1 pixel when necessary to ensure no clipping occurs.
https://github.com/cappuccino/cappuccino/commit/7a6009f2e3fd928b086...

2 changed files

  • M AppKit/CPTextField.j
  • M AppKit/_CPImageAndTextView.j