flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1438848 - /flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/styles/DS_local_style_tester.mxml
Date Sat, 26 Jan 2013 04:49:30 GMT
Author: aharui
Date: Sat Jan 26 04:49:30 2013
New Revision: 1438848

URL: http://svn.apache.org/viewvc?rev=1438848&view=rev
Log:
Hopefully the last windows fix for mobile.

Modified:
    flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/styles/DS_local_style_tester.mxml

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/styles/DS_local_style_tester.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/styles/DS_local_style_tester.mxml?rev=1438848&r1=1438847&r2=1438848&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/styles/DS_local_style_tester.mxml
(original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/styles/DS_local_style_tester.mxml
Sat Jan 26 04:49:30 2013
@@ -30,6 +30,7 @@
 			import assets.DSConstants;
 			
 			import assets.skins.MySkin;
+			import spark.components.calendarClasses.DateSelectorDisplayMode;
 			
 			import views.*;					
 				
@@ -188,6 +189,15 @@
 				
 				<RunCode code="application.navigator.pushView(views.VisualStyleView)" waitTarget="navigator"
waitEvent="viewChangeComplete" timeout="19999" />
 				
+				<!-- set to some other display mode so when set to final it resets everything -->
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds1" 
+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.TIME"/>
+				<SetProperty target="navigator.activeView.ds1.mx_internal:dateTimeFormatterEx"
+							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
+				<RunCode code="application.navigator.activeView.ds1.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
+				<RunCode code="application.navigator.activeView.ds1.mx_internal::refreshDateTimeFormatter
= true" />
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds1" 
+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE"/>
 			</setup>
 			
 			<body>



Mime
View raw message