[Laszlo-checkins] r13032 - openlaszlo/trunk/lps/components/base

bargull@openlaszlo.org bargull at openlaszlo.org
Tue Feb 24 05:10:13 PST 2009


Author: bargull
Date: 2009-02-24 05:10:07 -0800 (Tue, 24 Feb 2009)
New Revision: 13032

Modified:
   openlaszlo/trunk/lps/components/base/style.lzx
Log:
Change 20090223-bargull-95b by bargull at dell--p4--2-53 on 2009-02-23 21:14:25
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: add lzx-type declarations

New Features:

Bugs Fixed: LPP-7277 (missing type declaration)

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
add type for bordersize, menuitembgcolor, isdefault
    

Tests:
testcase at bugreport



Modified: openlaszlo/trunk/lps/components/base/style.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/style.lzx	2009-02-24 09:00:08 UTC (rev 13031)
+++ openlaszlo/trunk/lps/components/base/style.lzx	2009-02-24 13:10:07 UTC (rev 13032)
@@ -69,14 +69,15 @@
     <!--- the line width used in those components that have a visual border,
         default: 1-->
     <attribute name="bordersize" value="1" when="once"
-        setter="setStyleAttr( bordersize, 'bordersize')"/>
+        setter="setStyleAttr( bordersize, 'bordersize')" type="number"/>
 
     <!--- background color for menu items, defaults to the 'textfieldcolor' -->
     <attribute name="menuitembgcolor" value="textfieldcolor"
-        when="once" />
+        when="once" type="color"/>
 
     <!--- if true, this style is the default style for components  -->
-    <attribute name="isdefault" value="false" setter="_setdefault(isdefault)"/>
+    <attribute name="isdefault" value="false" setter="_setdefault(isdefault)"
+        type="boolean"/>
 
     <!--- @keywords private  -->
     <event name="onisdefault"/>



More information about the Laszlo-checkins mailing list