incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r483830 - /incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal
Date Fri, 08 Dec 2006 04:50:23 GMT
Author: mturyn
Date: Thu Dec  7 20:50:22 2006
New Revision: 483830

URL: http://svn.apache.org/viewvc?view=rev&rev=483830
Log:
Added buttons for testing changing font style and family attributes.

Modified:
    incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal

Modified: incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal?view=diff&rev=483830&r1=483829&r2=483830
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/standardButtons.xal Thu Dec  7 20:50:22
2006
@@ -7,12 +7,10 @@
 	<button width="200px" height="25px" text="borderWidth -> '25'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'borderWidth' ,'25px')"/>
-
 	<button width="200px" height="25px" text="borderWidth -> '10'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'borderWidth' ,'10px')"/>
 
-
 	<button width="200px" height="25px" text="borderStyle -> 'solid'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'borderStyle' ,'solid')"/>
@@ -28,7 +26,6 @@
 	<button width="200px" height="25px" text="borderColor -> 'yellow'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'borderColor' ,'yellow')"/>
-
 	<button width="200px" height="25px" text="width -> '300px'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'width' ,'300px')"/>
@@ -53,6 +50,13 @@
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'fontWeight' ,'lighter')"/>
 
+	<button width="200px" height="25px" text="fontFamily -> 'Garamond'"
+		onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'fontFamily' ,'Garamond')"/>	
+				
+	<button width="200px" height="25px" text="fontStyle -> 'italic'"
+		onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'fontStyle' ,'italic')"/>								
 	<button width="200px" height="25px" text="backgroundColor -> 'green'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'backgroundColor' ,'green')"/>
@@ -68,7 +72,6 @@
 	<button width="200px" height="25px" text="color -> 'pink'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'color' ,'pink')"/>
-
 	<button width="200px" height="25px" text="fontSize-> '24'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'fontSize' ,'24px')"/>
@@ -76,7 +79,7 @@
 	<button width="200px" height="25px" text="fontSize-> '8'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'fontSize' ,'8px')"/>
-				
+
 	<button width="200px" height="25px" text="visible-> 'false'"
 		onCommand="mco:attributeSetter.setAttribute(testComponent,
 				'visible' ,'false')"/>



Mime
View raw message