Approved!
On Tue, 13 Mar 2007, Ming-en Cho wrote:
Change 20070313-Ming-0 by [EMAIL PROTECTED] on 2007-03-13 14:37:35 PDT
in /cygdrive/c/Laszlo/dev/src/svn/openlaszlo/trunk/lps/components/lz
Summary: Fix for LPP-3701
New Features:
Bugs Fixed: LPP-3701 -combobox's list can hang off the edge of the screen
Technical Reviewer: pkang (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
Files:
M basefloatinglist.lzx
Diff:
while (true) {
if (validattach=="bottom" || validattach=="top") {
< this.setAttribute( 'x' , own_x );
< break;
-> var tmp_x = own_x;
-> if (tmp_x < 0) {
-> //if our left edge isn't visible move list to left
edge
-> tmp_x = 0;
-> } else if (tmp_x + attachtarget.width > canvas.width)
{
-> tmp_x = canvas.width - this.width;
-> } else if (tmp_x + this.width > canvas.width) {
-> tmp_x = (own_x + attachtarget.width) - this.width;
-> }
-> this.setAttribute( 'x' , tmp_x );
-> break;
} else
if (validattach=="left") {