Créer une Animation du layout avec OpenLaszlo
Vous pouvez animer le "layout" comme tout autre élément OpenLazslo.
<canvas>
<class name="box" bgcolor="red" width="10" height="10" />
<view>
<box/>
<box/>
<box/>
<box/>
<box/>
<simplelayout axis="x" spacing="5">
<animator id="anm" attribute="spacing" to="20"
duration="1000" start="false"/>
</simplelayout>
</view>
<button onclick="anm.start()" y="100">
Animate</button>
</canvas>
Ressource en anglais sur le forum OpenLaszlo ici