[Laszlo-dev] Proposal: change the default canvas width to 100%
steele at laszlosystems.com
Fri Jun 3 07:17:02 PDT 2005
The default canvas width is currently 500 pixels. This means that if
you write a simple hello world application:
and drag the window to the right, it starts getting clipped, and then
disappears, about halfway across any reasonable sized browser window.
Even worse, the embedded debugger window gets clipped too. if you
lay out some applications elements on the left, you can't drag the
debugger very far to the right to uncover them, before it disappears.
This was a necessary limitation prior to OpenLaszlo 3.0, because we
had to pick some default canvas width, and if it was too large then
some internal buffers ended up being unreasonably large (due to the
way text had to be implemented for swf5). However, OpenLaszlo 3.0
supports proportional canvas width and height, and no longer has the
text limitations that swf5 support required.
I propose that the default canvas width be changed to 100%.
This is a backwards incompatible change, but only for programs that
used the default canvas width. I believe that the defaults were only
used during development, not for deployed applications, so I propose
that we make the change right away (in the lps-dev branch, and for
the next major release) without any transition plan or bwcompat
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev