[Laszlo-checkins] r10915 - in openlaszlo/trunk/demos/lzpix: classes views
jcrowley@openlaszlo.org
jcrowley at openlaszlo.org
Mon Sep 8 10:07:00 PDT 2008
Author: jcrowley
Date: 2008-09-08 10:06:52 -0700 (Mon, 08 Sep 2008)
New Revision: 10915
Modified:
openlaszlo/trunk/demos/lzpix/classes/photo.lzx
openlaszlo/trunk/demos/lzpix/views/tools.lzx
Log:
Change 20080906-laszlo-4 by laszlo at T43-L3XEXMW on 2008-09-06 05:05:53 EDT
in /home/laszlo/src/svn/openlaszlo/trunk-ocelot
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: LzPix: Text misplacement on enlarged images, SWF8/9 and DHTML: LZPIX: Counter goes back 2 grids when scrolling backwards with less than 18 pictures on the grid
New Features:
Bugs Fixed: LPP-6940 - LzPix: Text misplacement on enlarged images
LPP-6871 - SWF8/9 and DHTML: LZPIX: Counter goes back 2 grids when scrolling backwards with less than 18 pictures on the grid
Technical Reviewer: promanik
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests: For 6940, expand the images and move forward one page.
In an unmodified version, the text labels for the images
would be centered over the images on the second page. They
should now be below the images, where expected.
For 6871, expand the images so that there are only six on
the page (or anything less than the maximum 18, really),
move forward two or three pages, and then move back a page.
In the unmodified version, it will go all the way back to
the first page (e.g. images 1-6). In the fixed version,
it will go back to the previous page, as expected.
Modified: openlaszlo/trunk/demos/lzpix/classes/photo.lzx
===================================================================
--- openlaszlo/trunk/demos/lzpix/classes/photo.lzx 2008-09-08 17:04:29 UTC (rev 10914)
+++ openlaszlo/trunk/demos/lzpix/classes/photo.lzx 2008-09-08 17:06:52 UTC (rev 10915)
@@ -148,6 +148,7 @@
this.intparent.setAttribute('visible', true);
}
intparent.interior.animate('opacity', 1, 200);
+ this.txt.adjustDimensions();
</handler>
Modified: openlaszlo/trunk/demos/lzpix/views/tools.lzx
===================================================================
--- openlaszlo/trunk/demos/lzpix/views/tools.lzx 2008-09-08 17:04:29 UTC (rev 10914)
+++ openlaszlo/trunk/demos/lzpix/views/tools.lzx 2008-09-08 17:06:52 UTC (rev 10915)
@@ -148,7 +148,7 @@
<method name="displayPrevPage" >
<![CDATA[
if ( this.startindex > 1 ) {
- if(photoscontainer.lyt.totalitems == 18){
+ if(photoscontainer.lyt.totalitems <= 18){
this.nextendindex = this.startindex - 1;
this.nextstartindex = Math.max( this.nextendindex - photoscontainer.lyt.totalitems + 1, 1 );
if ( this.nextstartindex == 1 ) this.nextendindex = photoscontainer.lyt.totalitems;
More information about the Laszlo-checkins
mailing list