Fun with x and y:

<canvas debug="true">
   <class name="myview" bgcolor="${global[name]}" height="30"  
width="50">
     <handler name="onconstruct">
       Debug.monitor(this, 'x');
       Debug.monitor(this, 'y');
     </handler>
   </class>
   <view >
     <simplelayout axis="x" spacing="10" inset="15"/>
     <simplelayout axis="y" spacing="10" inset="15"/>
     <myview name="blue" y="40" />
     <myview name="yellow" x="15" />
     <myview name="green" />
   </view>
</canvas>

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

Reply via email to