Change 20091102-hqm-F by [email protected] on 2009-11-02 19:50:14 EST
     in /Users/hqm/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix for computing maxscroll on DHTML text view

New Features:

Bugs Fixed: LPP-8583

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

Documentation:

Release Notes:

Details:

+ having setscrollevents=true causes the  
LzTextSprite.setScrolling(true) to be called, but
__updatefieldsize needs to be called to get the new scrollHeight and  
send it back to the LFC.
But you need to actually wait for some time period to let the browser  
re-layout the scrolldiv.
So I used a 200msec timer. This seems like a non-robust solution, but  
I am not sure how
to fix it otherwise.


Tests:

testcase.lzx from bug report, and then check that tfield.maxscroll is  
greater than 1


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

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20091102-hqm-F.tar
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to