You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/10/25 19:47:25 UTC
svn commit: r467745 - in
/incubator/xap/trunk/WebContent/examples/dataBinding: Layout.js
simpleDocumentDatasource_0.xal
Author: mturyn
Date: Wed Oct 25 12:47:24 2006
New Revision: 467745
URL: http://svn.apache.org/viewvc?view=rev&rev=467745
Log:
Altered to mesh with new freePanel requirements for a defined width and height.
Modified:
incubator/xap/trunk/WebContent/examples/dataBinding/Layout.js
incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal
Modified: incubator/xap/trunk/WebContent/examples/dataBinding/Layout.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/Layout.js?view=diff&rev=467745&r1=467744&r2=467745
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/Layout.js (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/Layout.js Wed Oct 25 12:47:24 2006
@@ -1,7 +1,7 @@
Layout = function () {
this.value = 20;
- this.increment = 50;
+ this.increment = 5;
};
Layout.prototype.nextValue = function () {
this.value += this.increment;
Modified: incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal?view=diff&rev=467745&r1=467744&r2=467745
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal Wed Oct 25 12:47:24 2006
@@ -29,11 +29,11 @@
<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
<xm:append select="/xal">
- <freePanel>
+ <freePanel width="800px" height="2400px">
<xal:label
id="topLabel"
width="600px"
- height="40px"
+ height="20px"
y="{mco:layout.thisY()}"
backgroundColor="#b0a0b0"
alignHorizontal="center"
@@ -43,7 +43,7 @@
<xal:label
width="580px"
- height="40px"
+ height="20px"
x="10px"
y="{mco:layout.nextY()}"
alignHorizontal="center"
@@ -52,7 +52,7 @@
/>
<xal:label
- height="40px"
+ height="20px"
x="10px"
y="{mco:layout.nextY()}"
width="580px"
@@ -65,7 +65,7 @@
<xal:label
id="iterStartLabel"
width="600px"
- height="40px"
+ height="20px"
y="{mco:layout.nextY()}"
backgroundColor="#b0a0b0"
text="[iteration starts]"
@@ -73,7 +73,7 @@
<xal:label
width="600px"
- height="40px"
+ height="20px"
y="{mco:layout.nextY()}"
backgroundColor="#ddddff"
alignHorizontal="center"
@@ -97,7 +97,7 @@
x="10px"
y="{mco:layout.nextY()}"
width="287px"
- height="40px"
+ height="20px"
backgroundColor="{mco:layout.nextColour()}"
alignHorizontal="center"
text="{*('@letter')}"
@@ -107,7 +107,7 @@
x="303px"
y="{mco:layout.thisY()}"
width="287px"
- height="40px"
+ height="20px"
backgroundColor="{mco:layout.thisColour()}"
alignHorizontal="center"
text="{*('@code')}"
@@ -119,7 +119,7 @@
<xal:label
id="iterStopLabel"
width="600px"
- height="40px"
+ height="20px"
y="{mco:layout.nextY()}"
backgroundColor="#b0a0b0"
textAlign="center"