Author: lou
Date: 2008-02-16 07:20:13 -0800 (Sat, 16 Feb 2008)
New Revision: 8053

Modified:
   openlaszlo/trunk/docs/src/developers/tutorials/drawview-intro.dbk
   
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$10.lzx
   openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$3.lzx
   openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$4.lzx
   openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$5.lzx
   openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$6.lzx
   openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$7.lzx
   openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$9.lzx
Log:
Change 20080216-lou-B by [EMAIL PROTECTED] on 2008-02-16 11:04:00 AST
    in /Users/lou/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: document that size needs to be set for drawview in the intro to drawing
chapter of the dguide: 
http://localhost:8080/trunk/docs/developers/tutorials/drawview-intro.html

Bugs Fixed: LPP-5433

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


Details: Add note about size, fix all examples to have size
    

Tests: visual verify



Modified: openlaszlo/trunk/docs/src/developers/tutorials/drawview-intro.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/tutorials/drawview-intro.dbk   
2008-02-16 15:13:29 UTC (rev 8052)
+++ openlaszlo/trunk/docs/src/developers/tutorials/drawview-intro.dbk   
2008-02-16 15:20:13 UTC (rev 8053)
@@ -30,20 +30,11 @@
    <textobject><textdata 
fileref="programs/drawview-intro-$1.lzx"/></textobject> 
    </programlisting>
 </example>
-<?example role="live-example"><title>view and drawview</title><programlisting 
role="lzx-embednew"><filename>drawview-intro-$1.lzx</filename><parameter/><code>
-    &lt;canvas height="75" proxied="false"&gt;
-      &lt;simplelayout spacing="5" axis="x"/&gt;
-      &lt;view height="50" width="50" bgcolor="red"/&gt;
-      &lt;drawview height="50" width="50" bgcolor="blue"/&gt;
-    &lt;/canvas&gt;
-</code></programlisting><programlisting>
-    &lt;canvas height="75" proxied="false"&gt;
-      &lt;simplelayout spacing="5" axis="x"/&gt;
-      &lt;view height="50" width="50" bgcolor="red"/&gt;
-      &lt;drawview height="50" width="50" bgcolor="blue"/&gt;
-    &lt;/canvas&gt;
-</programlisting><?lzx-edit programs/drawview-intro-$1.lzx></example?>
+
 <para>
+<note>
+  <para>Previously, <literal>&lt;drawview&gt;</literal> auto-sized when 
OpenLaszlo only supported Flash. To make this work in DHTML and Flash 
consistently, the size must now be explicitly set, because DHTML doesn't 
support autosize.</para>
+</note>
 There are no additional tag attributes in the <literal>drawview</literal> 
class beyond those of <literal>view</literal>.  However, 
<literal>drawview</literal> has four attributes in addition to those it 
inherits:
 </para>
 <itemizedlist 
spacing="compact"><listitem><para>fillStyle</para></listitem><listitem><para>globalAlpha</para></listitem><listitem><para>lineWidth</para></listitem><listitem><para>strokeStyle</para></listitem></itemizedlist>
@@ -61,7 +52,7 @@
 For example, this code produces nothing visible:</para>
 <example role="live-example"><title>invisble drawing</title><programlisting>
     &lt;canvas height="200" proxied="false"&gt;
-      &lt;drawview&gt;
+      &lt;drawview height="50" width="50"&gt;
         &lt;handler name="oninit"&gt;
          this.moveTo(100,100)
          this.lineTo(200,100)

Modified: 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$10.lzx
===================================================================
--- 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$10.lzx  
    2008-02-16 15:13:29 UTC (rev 8052)
+++ 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$10.lzx  
    2008-02-16 15:20:13 UTC (rev 8053)
@@ -1,6 +1,6 @@
     
 <canvas height="200" proxied="false">
-        <drawview>
+        <drawview height="200" width="200">
             <handler name="oninit">
             this.moveTo(40,40)
             this.lineTo(80,40)
@@ -16,6 +16,6 @@
        </drawview>
     </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc.  All Rights Reserved.                   *
+* Copyright 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$3.lzx
===================================================================
--- 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$3.lzx   
    2008-02-16 15:13:29 UTC (rev 8052)
+++ 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$3.lzx   
    2008-02-16 15:20:13 UTC (rev 8053)
@@ -1,5 +1,5 @@
 <canvas height="200" proxied="false">
-  <drawview>
+  <drawview height="200" width="200">
     <handler name="oninit">
      this.moveTo(100,100);
      this.lineTo(200,100);
@@ -9,6 +9,6 @@
   </drawview>
 </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc.  All Rights Reserved.                   *
+* Copyright 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$4.lzx
===================================================================
--- 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$4.lzx   
    2008-02-16 15:13:29 UTC (rev 8052)
+++ 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$4.lzx   
    2008-02-16 15:20:13 UTC (rev 8053)
@@ -1,6 +1,6 @@
 
   <canvas height="200" proxied="false">
-      <drawview>
+      <drawview height="200" width="200">
         <handler name="oninit">
          this.moveTo(100,100);
          this.lineTo(200,100);
@@ -11,6 +11,6 @@
       </drawview>
     </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc.  All Rights Reserved.                   *
+* Copyright 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$5.lzx
===================================================================
--- 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$5.lzx   
    2008-02-16 15:13:29 UTC (rev 8052)
+++ 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$5.lzx   
    2008-02-16 15:20:13 UTC (rev 8053)
@@ -1,6 +1,6 @@
 
   <canvas height="200" proxied="false">
-      <drawview>
+      <drawview height="200" width="200">
         <handler name="oninit">
          this.moveTo(100,100);
          this.lineTo(200,100);
@@ -13,6 +13,6 @@
       </drawview>
     </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc.  All Rights Reserved.                   *
+* Copyright 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$6.lzx
===================================================================
--- 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$6.lzx   
    2008-02-16 15:13:29 UTC (rev 8052)
+++ 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$6.lzx   
    2008-02-16 15:20:13 UTC (rev 8053)
@@ -1,6 +1,6 @@
  
 <canvas height="200" proxied="false">
-      <drawview>
+      <drawview height="200" width="200">
         <handler name="oninit">
          this.moveTo(100,100);
          this.lineTo(200,100);
@@ -13,6 +13,6 @@
       </drawview>
     </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc.  All Rights Reserved.                   *
+* Copyright 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$7.lzx
===================================================================
--- 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$7.lzx   
    2008-02-16 15:13:29 UTC (rev 8052)
+++ 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$7.lzx   
    2008-02-16 15:20:13 UTC (rev 8053)
@@ -1,6 +1,6 @@
     
 <canvas height="200" proxied="false">
-      <drawview>
+      <drawview height="200" width="200">
         <handler name="oninit">
          this.moveTo(100,100);
          this.lineTo(200,100);
@@ -22,6 +22,6 @@
       </drawview>
     </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc.  All Rights Reserved.                   *
+* Copyright 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$9.lzx
===================================================================
--- 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$9.lzx   
    2008-02-16 15:13:29 UTC (rev 8052)
+++ 
openlaszlo/trunk/docs/src/developers/tutorials/programs/drawview-intro-$9.lzx   
    2008-02-16 15:20:13 UTC (rev 8053)
@@ -1,6 +1,6 @@
   
 <canvas height="200" proxied="false">
-      <drawview>
+      <drawview height="200" width="200">
         <handler name="oninit">
          this.moveTo(100,100);
          this.lineTo(200,100);
@@ -17,6 +17,6 @@
       </drawview>
     </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc.  All Rights Reserved.                   *
+* Copyright 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to