Hi

The following code causes the buttons in the view to be sized with the
wrong height (height=29503.2 typically)

<canvas height="540" width="870" debug="true">
  <view layout="axis:y" width="${canvas.width}"
height="${canvas.height}" stretches="both">
       <statictext text="hello"/>
      <view width="580" height="100">
        <simplelayout axis="y"/>
        <button text="not"/>
        <button text="good"/>
      </view>
   </view>
</canvas>

Although if I wrap things a little differently it works fine
<canvas height="540" width="870" debug="true">
  <view layout="axis:y" width="${canvas.width}"
height="${canvas.height}" stretches="both">
      <view width="580" height="100">
        <statictext text="hello"/>
        <simplelayout axis="y"/>
        <button text="not"/>
        <button text="good"/>
      </view>
   </view>
</canvas>

Any ideas ? Is this a bug ?
I found this issue with a class I was building
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to