What do you think about the idea of putting all the once's off until  
canvas.init?  File an improvement?

On 2006-09-29, at 16:03 EDT, [EMAIL PROTECTED] wrote:

> Author: hqm
> Date: 2006-09-29 13:03:37 -0700 (Fri, 29 Sep 2006)
> New Revision: 1969
>
> Modified:
>    openlaszlo/branches/legals/lps/components/lz/checkbox.lzx
> Log:
> fix alignment on checkbox text labels, this should have gone in  
> with change 1968
>
> Modified: openlaszlo/branches/legals/lps/components/lz/checkbox.lzx
> ===================================================================
> --- openlaszlo/branches/legals/lps/components/lz/checkbox.lzx  
> 2006-09-29 19:59:25 UTC (rev 1968)
> +++ openlaszlo/branches/legals/lps/components/lz/checkbox.lzx  
> 2006-09-29 20:03:37 UTC (rev 1969)
> @@ -28,8 +28,13 @@
>              statelength="4" maxstate="1"
>              reference="parent">
>          </multistatebutton>
> -        <text name="_title" x="16" y="$once{classroot.text_y}"  
> text="${parent.text}" resize="true"/>
>
> +        <!-- FIXME: [hqm 2006-09] LPP-2244 This used to be y="$once 
> {classroot.text_y}"
> +             but the DHTML runtime fires an early text onheight   
> event, which has the wrong value,
> +             so we need to use an 'always' constraint till we fix it
> +        -->
> +        <text name="_title" x="16" y="${classroot.text_y}" text="$ 
> {parent.text}" resize="true"/>
> +
>          <!--- toggles the value when the space bar is pressed  
> while focused -->
>          <method name="doSpaceUp">
>              <![CDATA[
> @@ -76,7 +81,7 @@
>      </class>
>  </library>
>  <!-- * X_LZ_COPYRIGHT_BEGIN  
> ***************************************************
> -* Copyright 2001-2004 Laszlo Systems, Inc.  All Rights  
> Reserved.              *
> +* Copyright 2001-2006 Laszlo Systems, Inc.  All Rights  
> Reserved.              *
>  * Use is subject to license  
> terms.                                            *
>  * X_LZ_COPYRIGHT_END  
> ****************************************************** -->
>  <!--  
> @LZX_VERSION@                                                          
> -->
>
>
> _______________________________________________
> Laszlo-checkins mailing list
> [EMAIL PROTECTED]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins


_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to