[Laszlo-dev] For Review: Change 20070901-Philip-6. Summary: Fix inputtext size UPDATE

Philip Romanik promanik at laszlosystems.com
Sat Sep 1 09:50:55 PDT 2007


Change 20070901-Philip-6 by Philip at Philip-DC on 2007-09-01 10:29:16 EDT
     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/wafflecone
     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Fix inputtext size UPDATE

New Features:

Bugs Fixed: LPP-4626

Technical Reviewer: max
QA Reviewer: hqm
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
LzTextSprite.getTextfieldHeight reuses the textclip to determine the 
height. However, it was not resetting the width when it was finished. This 
change caches/restores a few parameters so that the textclip is restored to 
its original value.

Some of these changes may not strictly be necessary but it is a safe change.

Tests:

This inputtext should be clickable anywhere along the width:
   <canvas>
     <inputtext bgcolor="yellow"/>
   </canvas>

Also main.lzx runs as expected


Files:
M      WEB-INF\lps\lfc\kernel\swf\LzTextSprite.as

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070901-Philip-6.tar




More information about the Laszlo-dev mailing list