[Laszlo-checkins] r13487 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf
bargull@openlaszlo.org
bargull at openlaszlo.org
Thu Mar 26 09:58:34 PDT 2009
Author: bargull
Date: 2009-03-26 09:58:32 -0700 (Thu, 26 Mar 2009)
New Revision: 13487
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
Log:
Change 20090325-bargull-Rvf by bargull at dell--p4--2-53 on 2009-03-25 22:20:41
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: getTextHeight() scrolls to top
New Features:
Bugs Fixed: LPP-7977 (getTextHeight() method problem)
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Also restore "TextField#scroll" in LzTextSprite.prototype.getTextfieldHeight() to avoid scrolling problems after measuring text.
Tests:
see bugreport
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as 2009-03-26 15:34:09 UTC (rev 13486)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as 2009-03-26 16:58:32 UTC (rev 13487)
@@ -300,6 +300,7 @@
var tca = textclip.autoSize;
var tcw = textclip._width;
var tch = textclip._height;
+ var tcs = textclip.scroll;
// turn on autoSize temporarily
textclip.autoSize = true;
@@ -321,6 +322,7 @@
textclip.autoSize = tca;
textclip._height = tch;
textclip._width = tcw;
+ textclip.scroll = tcs;
return h;
}
More information about the Laszlo-checkins
mailing list