[Laszlo-dev] For Review: Change 20070101-Philip-2 Summary: Modify view/text methods to match documented behavior.

Max Carlson max at openlaszlo.org
Tue Jan 2 12:47:47 PST 2007


Philip Romanik wrote:
> Change 20070101-Philip-2 by Philip at Philip-DC on 2007-01-01 16:13:41 EST
>     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/legals
> 
> Summary: Modify view/text methods to match documented behavior.
> 
> New Features:
> 
> Bugs Fixed: LPP-3376
> 
> Technical Reviewer: max
> QA Reviewer: (pending)
> Doc Reviewer: (pending)
> 
> Documentation:
> 
> Release Notes:
> 
> Details:
> In LzView, modified sendInFrontOf() and sendToBack() to accept a null 
> argument. This matches the documented behavior of the method (and it's 
> called this way from the charting package).
> 
> In LzText, modified setFontName() and setFontSize() to call setText to 
> recompute the width and height. This matches the behavior in trunk. 
> Without this change, some charting demos display an incorrect border 
> around some text labels.
> 
> Tests:
> Running the charting tests get further.
> 
> Files:
> M      WEB-INF/lps/lfc/views/LzText.lzs
> M      WEB-INF/lps/lfc/views/LaszloView.lzs
> 

I don't see a link for the changeset.  Also, did you test these changes 
under DHTML?  Be sure to run 
http://localhost:8080/legals/test/lztest/lztest-textheight.lzx?debug=true 
in swf and DHTML.

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list