Hello,
I have a problem with automatic resizes.
In fact, if i create dynamically a view through a method, even if I fix
its width, height, x or y in function relatively to an other, if this
other is resized, the first view will stay with the same bounds.
I made you a little example to be clearlier.
<canvas width="100%" height="100%" >
<view name="firstView" width="${parent.width/2}"
height="${parent.height/2}" bgcolor="blue">
<button>
<method event="onclick">
canvas.firstView.setAttribute ("test", new
LzView(canvas.firstView, {
y : 50, height : parent.height/2, width :
parent.width/2, bgcolor : "0xff0000"}));
</method>
</button>
</view>
</canvas>
In the above example, if you resize you browser, the blue view will
resize too, but the red one, created through the button onclick method
will remain the same.
Dou you have any idea to resolve this problem ?
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user