[Laszlo-checkins] r9449 - openlaszlo/trunk/demos/amazon
pbr@openlaszlo.org
pbr at openlaszlo.org
Tue Jun 3 17:16:58 PDT 2008
Author: pbr
Date: 2008-06-03 17:16:51 -0700 (Tue, 03 Jun 2008)
New Revision: 9449
Modified:
openlaszlo/trunk/demos/amazon/amazon.lzx
Log:
Change 20080603-Philip-6 by Philip at Philip-DC on 2008-06-03 09:32:08 EDT
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Amazon: Increase size of search results. Fix alignment
New Features:
Bugs Fixed: LPP-4859
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
I increased the font size from 8 to 10. I also fixed the alignment of the search
results with the grid lines on the background.
Tests:
Run amazon demo and search. The results are larger and aligned on the
grid in bo
th swf and dhtml.
Files:
M demos/amazon/amazon.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080603-Philip-6.tar
Modified: openlaszlo/trunk/demos/amazon/amazon.lzx
===================================================================
--- openlaszlo/trunk/demos/amazon/amazon.lzx 2008-06-03 23:10:17 UTC (rev 9448)
+++ openlaszlo/trunk/demos/amazon/amazon.lzx 2008-06-04 00:16:51 UTC (rev 9449)
@@ -120,19 +120,19 @@
<simplelayout axis="y" spacing="4"/>
<view id="cdlist" width="${parent.width-2}">
- <simplelayout axis="y" spacing="4"/>
+ <simplelayout axis="y" spacing="2"/>
<view width="17" height="17" />
<!-- Repeated view displaying the list of items
matching the keyword search -->
- <view name="searchResults"
+ <view name="searchResults" height="28"
width="${parent.width}">
<datapath xpath="dsKeyword:/ItemSearchResponse/Items/Item" pooling="true" />
<view width="${parent.width}" clickable="true"
onmouseover="setBGColor(0xFFFFFF)"
onmouseout="setBGColor(0xCAD0EC)">
<simplelayout axis="y"/>
- <text x="4" font="lztahoe8,Arial,Helvetica" datapath="ItemAttributes/Title/text()" width="${parent.width-6}" resize="false"/>
- <text x="4" font="lztahoe8,Arial,Helvetica" datapath="ItemAttributes/Artist[1]/text()" width="${parent.width-6}" resize="false"/>
+ <text x="4" font="lztahoe8,Arial,Helvetica" datapath="ItemAttributes/Title/text()" width="${parent.width-6}" fontsize="10" resize="false"/>
+ <text x="4" font="lztahoe8,Arial,Helvetica" datapath="ItemAttributes/Artist[1]/text()" width="${parent.width-6}" fontsize="10" resize="false"/>
<!-- When one item is clicked, a request is sent to Amazon for deatailed informations about the item -->
<handler name="onclick">
More information about the Laszlo-checkins
mailing list