So, just a simple question.
Why does the canvas not to be resizable ?
And can i resize it from outside LZX ?
mt1
Dan Stowell wrote:
Should i report this to JIRA ?
Or is this not bug ?
This is not a bug. We intend for the canvas not to be resizable from
within LZX.
mt1
mt1 wrote:
Thanks Dan. I got the clear point. :-)
Dan Stowell wrote:
Anyone know this ?
mt1 wrote:
For example, the following code is setting the canvas attribute
with using lzSetCanvasAttribute method, that is contained in the
embed.js file.
You can work it in case of using 'resizeTo()', but do not work it
with lzSetCanvas..().
My question is,
1. Can i set the canvas attributes after it has been
initialized ?
No. This is what I get in the debugger window if I attempt to
change the canvas size after it has initialized:
lzx> canvas.setWidth(200)
ERROR: setWidth cannot be called on the canvas.
What are you trying to do? There may be a workaround.
Dan Stowell / Software Engineer
Laszlo Systems / http://laszlosystems.com
[EMAIL PROTECTED]