So, I tracked it down to r4515 - aaaand the lucky winner is... Tucker!
r4511 works with this testcase:
<canvas width="75%" height="50%" bgcolor="0xe0e0e0">
<simplelayout axis="y"/>
<text name="msg" width="100%"/>
<view width="100%" height="100%" bgcolor="0xa0a0a0">
<text name="vmsg" width="100%"/>
<method name="vmessage">
vmsg.setText (parent.format(this.width, this.height));
</method>
<method event="oninit">vmessage();</method>
<method event="onwidth">vmessage();</method>
<method event="onheight">vmessage();</method>
</view>
<method name="format" args="w,h">
return "Width: " + w + ", Height: " + h;
</method>
<method name="message">
msg.setText (this.format (this.width, this.height));
</method>
<method event="oninit">message();</method>
<method event="onwidth">message();</method>
<method event="onheight">message();</method>
</canvas>
I'll go look into http://www.openlaszlo.org/jira/browse/LPP-3942 now.
P T Withington wrote:
I'm seeing it too in ToT.
On 2007-05-04, at 15:24 EDT, Henry Minsky wrote:
Fresh from the top of tree this morning, r4901 or thereabouts
On 5/4/07, Max Carlson <[EMAIL PROTECTED]> wrote:
What revision of legals are you using?
Henry Minsky wrote:
> Has anyone noticed that setting canvas width to 100% in legals results
in a
> canvas that
> is 500 pixels wide? That is in firefox with swf7 on my windows
> machine. My
> browser width
> is more like 1200.
>
> Is this a regression?
>
>
>
--
Regards,
Max Carlson
OpenLaszlo.org
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Regards,
Max Carlson
OpenLaszlo.org