[Laszlo-dev] For Review: Change 20080623-ptw-Y Summary: Fix meassure{Width, Height}
Sarah Allen
sallen at laszlosystems.com
Mon Jun 23 07:51:02 PDT 2008
Why is the default 0 now, not null? (I seem to remember hearing about
the desire to change this but I forget the details.) How does someone
check if a developer intentionally set the size to 0 or it just happens
to be zero? (This is especially important in writing components.)
Sarah
P T Withington wrote:
> Change 20080623-ptw-Y by ptw at dueling-banjos.local on 2008-06-23
> 04:54:06 EDT
> in /Users/ptw/OpenLaszlo/ringding-clean
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Fix meassure{Width,Height}
>
> Bugs Fixed:
> LPP-6339: '<view> component. measureWidth and measureHeight functions
> for a view return null unless a resource is attached to that view.'
>
> Technical Reviewer: max (pending)
> QA Reviewer: mwilde (pending)
> Doc Reviewer: sallen (Message-ID: <485F1F44.3060907 at laszlosystems.com>)
>
> Details:
> Default resource dimensions to 0, not null. Update measureSize to
> mimmic __LZcheckSize. Update documentation.
>
> Tests:
> ant lztest, smokecheck, test case from bug
>
> Files:
> M WEB-INF/lps/lfc/views/LaszloView.lzs
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20080623-ptw-Y.tar
More information about the Laszlo-dev
mailing list