Change 20070327-maxcarlson-w by [EMAIL PROTECTED] on 2007-03-27 02:03:07 PDT
    in /Users/maxcarlson/openlaszlo/legals-clean
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: UPDATED - Fix text height measurement for multiline text

New Features:

Bugs Fixed: LPP-3774 - Dynamically created multiline text has incorrect height

Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: lztest-textheight.lzx - Update unit test to include test for LPP-3774.

LzTextSprite.js - Call getTextSize() when measured height is 2. This fixes the original problem without breaking anything else.

Tests: http://localhost:8080/legals/test/lztest/lztest-textheight.lzx? lzr=dhtml&debug=true runs in DHTML as it did before r4486. It was seriously broken in the last version of this fix - should have updated and ran the unit test in the first place :(. Where would we be without unit tests?

Files:
M      test/lztest/lztest-textheight.lzx
M      WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070327- maxcarlson-w.tar

Reply via email to