incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject svn commit: r1377365 - in /incubator/flex/utilities/trunk/installer/src: InstallApacheFlex.mxml org/apache/flex/packageflexsdk/view/components/ConsoleWindow.mxml ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml
Date Sat, 25 Aug 2012 22:30:54 GMT
Author: bigosmallm
Date: Sat Aug 25 22:30:53 2012
New Revision: 1377365

URL: http://svn.apache.org/viewvc?rev=1377365&view=rev
Log:
Fixing accessibility issues mentioned in https://issues.apache.org/jira/browse/FLEX-33148

Modified:
    incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml
    incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/view/components/ConsoleWindow.mxml
    incubator/flex/utilities/trunk/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml

Modified: incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml?rev=1377365&r1=1377364&r2=1377365&view=diff
==============================================================================
--- incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml (original)
+++ incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml Sat Aug 25 22:30:53
2012
@@ -548,11 +548,13 @@ variables are not required because the l
 				nextBtn.enabled = true;
 				_langSelect.enabled = true;
 				flexSDKTxtInput.errorString = "";
+				flexSDKTxtInput.prompt = _viewResourceConstants.SELECT_PATH_PROMPT;
 			}
 			else
 			{
 				nextBtn.enabled = false;
 				flexSDKTxtInput.errorString = _viewResourceConstants.ERROR_DIR_NOT_EMPTY;
+				flexSDKTxtInput.prompt = _viewResourceConstants.ERROR_DIR_NOT_EMPTY;
 			}
 		}
 		
@@ -1583,7 +1585,6 @@ variables are not required because the l
 				var f:File = _flexHomeDir.resolvePath(fzf.filename);
 				var fs:FileStream = new FileStream();
 				
-//				if (fzf.sizeUncompressed == 0 && fzf.sizeCompressed == 0)
 				if (isDirectory(fzf))
 				{
 					// Is a directory, not a file. Dont try to write anything into it.    

Modified: incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/view/components/ConsoleWindow.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/view/components/ConsoleWindow.mxml?rev=1377365&r1=1377364&r2=1377365&view=diff
==============================================================================
--- incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/view/components/ConsoleWindow.mxml
(original)
+++ incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/view/components/ConsoleWindow.mxml
Sat Aug 25 22:30:53 2012
@@ -30,14 +30,14 @@ limitations under the License.
 			import mx.collections.ArrayCollection;
 			
 			import org.apache.flex.packageflexsdk.resource.ViewResourceConstants;
-		
+			
 			[Bindable] public var messages:ArrayCollection = new ArrayCollection();
 			
 			protected function closeWindow(event:MouseEvent):void
 			{
 				close();
 			}
-
+			
 			private function handleCopyBtnClick(event:MouseEvent):void
 			{
 				var logText:String = "";
@@ -53,19 +53,25 @@ limitations under the License.
 		]]>
 	</fx:Script>
 	
-	<s:layout>
-		<s:VerticalLayout gap="0" />
-	</s:layout>
-	
-		<s:List id="logTxtArea" dataProvider="{messages}" width="100%" height="100%" >
+	<s:List id="logTxtArea" dataProvider="{messages}" 
+			top="0" 
+			bottom="35"
+			left="0"
+			right="0"
+			fontFamily="openSansSemibold"
+			fontSize="14">
 		<s:layout>
 			<s:VerticalLayout gap="0" horizontalAlign="justify" />
 		</s:layout>
 	</s:List>
-		
-	<s:HGroup width="100%" >
-		<s:Button label="COPY LOG" click="handleCopyBtnClick(event)" styleName="genericBtnStyle"
 />
-		<s:Spacer width="100%" />
-		<s:Button label="{ViewResourceConstants.instance.BTN_LABEL_CLOSE}" click="closeWindow(event)"
styleName="genericBtnStyle"  />
-	</s:HGroup>
+	<s:Button label="COPY LOG" 
+			  click="handleCopyBtnClick(event)" 
+			  styleName="genericBtnStyle" 
+			  left="7.5"
+			  bottom="7.5"/>
+	<s:Button label="{ViewResourceConstants.instance.BTN_LABEL_CLOSE}" 
+			  click="closeWindow(event)"
+			  right="7.5"
+			  bottom="7.5"
+			  styleName="genericBtnStyle"  />
 </s:Window>

Modified: incubator/flex/utilities/trunk/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml?rev=1377365&r1=1377364&r2=1377365&view=diff
==============================================================================
--- incubator/flex/utilities/trunk/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml
(original)
+++ incubator/flex/utilities/trunk/installer/src/ws/tink/spark/skins/controls/ColorCheckBoxSkin.mxml
Sat Aug 25 22:30:53 2012
@@ -152,10 +152,20 @@ limitations under the License.
     
         <!-- checkmark -->
         <!--- Shows green color when selected, red when unselected -->
-		<s:Rect left="2" top="0" id="check"
+		<s:Path left="2" top="0" includeIn="selectedStates" id="check" itemCreationPolicy="immediate"
+				data="M 9.2 0.1 L 4.05 6.55 L 3.15 5.0 L 0.05 5.0 L 4.6 9.7 L 12.05 0.1 L 9.2 0.1">
       
+			<s:fill>
+				<!--- 
+				@private 
+				The solid color fill for the CheckBox's checkmark. The default alpha is .9, and the default
fill color is 0x000000. 
+				-->
+				<s:SolidColor id="checkMarkFill" color="0" alpha="0.8" />
+			</s:fill>
+		</s:Path>
+		<s:Rect left="2" top="0" 
 				width="100%" height="100%">        
 			<s:fill>
-				<s:SolidColor id="checkMarkFill" color="{hostComponent.selected?0x00FF00:0xFF0000}"
alpha="0.5" />
+				<s:SolidColor id="checkMarkOverlay" color="{hostComponent.selected?0x00FF00:0xFF0000}"
alpha="0.5" />
 			</s:fill>
 		</s:Rect>
     </s:Group>



Mime
View raw message