Change 20070612-maxcarlson-Q by [EMAIL PROTECTED] on 2007-06-12
19:27:38 PDT
in /Users/maxcarlson/openlaszlo/legals-clean
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix drawview to wait for correct initial width/height in dhtml
New Features:
Bugs Fixed: LPP-4128 - Drawview's width and height cannot be
constrained in DHTML.
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: drawview.lzx - Add lineCap attribute. Delay until after
onconstruct event in IE. Add _buildcanvas(), which is called with a
width and height to create the canvas. setWidth() and setHeight()
call _buildcanvas() when both values have been set. clear() clears
the entire canvas size, regardless of the current width. Show/hide
context visibility directly rather than calling setVisible(), and do
this for swf only. Reduce the number of curves drawn for small circles.
Tests: Testcase from LPP-4128 passes in dhtml (IE, firefox and
Safari) and swf
Files:
M lps/components/extensions/drawview.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070612-
maxcarlson-Q.tar