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

Committed by aparajita

  • M AppKit/CPTextField.j
  • M AppKit/_CPImageAndTextView.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