(Note: I am checking this changeset in. Let me know if you find any issues with this change.)

Change philip-20120926-xfV by philip@philip-i7-2 on 2012-09-26 19:14:41 EDT
    in /cygdrive/f/clients/laszlo/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk


Summary: Stop text shift when changing multiline mode


New Features:


Bugs Fixed: LPP-10258


Technical Reviewer: (pending)
QA Reviewer: dju
Doc Reviewer: (pending)


Documentation:


Release Notes:


Overview:




Details:
There is a small shift when changing from single line to multi-line. I eliminated this by setting the margin to 0. When changing from multi-line to single-line, I set the height of the input to 'auto'. This is because the height is larger and by simply duplicating the css, the text location will shift.


If this is not the desired behavior, the user code should adjust the height after the change.


Tests:
testcase in jira


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


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/philip-20120926-xfV.tar


Reply via email to