Change hqm-20101003-Fc1 by [email protected] on 2010-10-03 10:34:00 EDT
    in /Users/hqm/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: update maxscroll value when text height changes in DHTML

New Features:

Bugs Fixed: LPP-9423

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

Documentation:

Release Notes:

Overview:
    

Details:
    
LzTextSprite.js:

The DHTML text kernel was not updating the scroll events when the view height 
(sprite.setHeight())
is called. Added call to _updatefieldsize() to setHeight.


Tests:

test/lfc/maxscroll.lzx?lzr=dhtml

+ When app starts, the text field should be scrolled to the last line
of text such that "THIS IS THE LAST LINE" appears on the bottom line
of the text view. As the height is changed using the slider, the last
line should remain as the bottom line of the text view.

+ Clicking the Green square should scroll text to the start

+ Clicking Red square should scroll text such that "THIS IS THE LAST
LINE" appears as bottom line of text view.

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

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101003-Fc1.tar

Reply via email to