incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From que...@apache.org
Subject svn commit: r1302055 - /incubator/flex/whiteboard/quetwo/MobileAlert/src/org/apache/spark/components/MobileAlert.as
Date Sun, 18 Mar 2012 03:03:31 GMT
Author: quetwo
Date: Sun Mar 18 03:03:30 2012
New Revision: 1302055

URL: http://svn.apache.org/viewvc?rev=1302055&view=rev
Log:
Added auto-select for Mobile Alert iOS Button Skin

Modified:
    incubator/flex/whiteboard/quetwo/MobileAlert/src/org/apache/spark/components/MobileAlert.as

Modified: incubator/flex/whiteboard/quetwo/MobileAlert/src/org/apache/spark/components/MobileAlert.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/quetwo/MobileAlert/src/org/apache/spark/components/MobileAlert.as?rev=1302055&r1=1302054&r2=1302055&view=diff
==============================================================================
--- incubator/flex/whiteboard/quetwo/MobileAlert/src/org/apache/spark/components/MobileAlert.as
(original)
+++ incubator/flex/whiteboard/quetwo/MobileAlert/src/org/apache/spark/components/MobileAlert.as
Sun Mar 18 03:03:30 2012
@@ -33,6 +33,7 @@ package org.apache.spark.components
 	import org.apache.spark.components.skins.AndroidAlertSkin;
 	import org.apache.spark.components.skins.AndroidButtonSkin;
 	import org.apache.spark.components.skins.AppleOSAlertSkin;
+	import org.apache.spark.components.skins.AppleOSButtonSkin;
 	import org.apache.spark.components.supportClasses.SkinnablePopUpComponent;
 	
 	import spark.components.Button;
@@ -278,6 +279,7 @@ package org.apache.spark.components
 				{
 					// we are on an iOS device
 					forcedSkin = AppleOSAlertSkin;
+					mobileAlert.buttonStyle = AppleOSButtonSkin;
 					
 				}
 				else



Mime
View raw message