Change 20070925-maxcarlson-3 by [EMAIL PROTECTED] on 2007-09-25
17:03:02 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Make drawviews resize.
New Features:
Bugs Fixed: LPP-3905 - Changes on width/height must be propagated
down to the HTML-canvas in DHTML
Technical Reviewer: promanik
QA Reviewer: [EMAIL PROTECTED]
Doc Reviewer: (pending)
Documentation: Drawviews now resize when the width or height are
changed. In DHTML, the drawview will be cleared so it must be
redrawn whenever the oncanvas event is sent.
Release Notes:
Details: drawview.lzx - In _buildcanvas(), if the canvas exists it is
resized and the oncontext event is sent because it will be cleared.
For IE, the canvas must be completely destroyed and rebuilt. setWidth
() and setHeight() call _buildcanvas() whenever a valid height and
width are set.
roundrect.lzx - Clear cached color state when oncontext is sent to
ensure canvas state is reset properly.
Tests: http://localhost:8080/trunk/lps/components/incubator/test/test-
roundrectbutton.lzx?lzr=dhtml now resizes beyond 100 pixels in IE and
firefox.
Files:
M lps/components/extensions/drawview.lzx
M lps/components/incubator/roundrect.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070925-
maxcarlson-3.tar