Change 20080624-ptw-O by [EMAIL PROTECTED] on 2008-06-24 11:49:05 EDT
    in /Users/ptw/OpenLaszlo/ringding-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix brain-oh's in DHTML text measurement

Bugs Fixed:
LPP-6451 'LPP-6451 'SWF and DHTML: Text entered into the weather app and edittext component is not vertically centered (too high).'

Technical Reviewer: hminsky (pending), [EMAIL PROTECTED] (pending)
QA Reviewer: max (pending)

Details:
    LzTextSprite, LzInputTextSprite: share getTextHeight, use a common
    algorithm for getTextfieldHeight.  With these changes,
    getText{,field}{Height,Width} return the same values for swf and
    dhtml in the edittext example.

Tests:
    Weather and edittext examples look right now in DHTML too.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
M      WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080624-ptw-O.tar

Reply via email to