flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [01/15] git commit: [flex-asjs] [refs/heads/develop] - use margin:auto instead of horizontalCenter
Date Fri, 07 Aug 2015 17:11:57 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop d8c2c3d77 -> 25d9c0c38


use margin:auto instead of horizontalCenter


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a6d41529
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a6d41529
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a6d41529

Branch: refs/heads/develop
Commit: a6d41529d7fa716333f78859fc3b312dc294cc1a
Parents: baa8bd6
Author: Alex Harui <aharui@apache.org>
Authored: Thu Aug 6 16:24:49 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Aug 7 10:00:56 2015 -0700

----------------------------------------------------------------------
 examples/FlexJSStore/src/FlexJSStore.mxml           |  4 ++--
 examples/FlexJSStore/src/HomeView.mxml              | 16 ++++++++--------
 examples/FlexJSStore/src/SupportView.mxml           | 16 ++++++++--------
 examples/FlexJSStore/src/productsView/Grip.mxml     |  2 +-
 .../FlexJSStore/src/productsView/ProductCart.mxml   |  2 +-
 5 files changed, 20 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a6d41529/examples/FlexJSStore/src/FlexJSStore.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/FlexJSStore.mxml b/examples/FlexJSStore/src/FlexJSStore.mxml
index 2de423f..4d04dc6 100755
--- a/examples/FlexJSStore/src/FlexJSStore.mxml
+++ b/examples/FlexJSStore/src/FlexJSStore.mxml
@@ -249,9 +249,9 @@ limitations under the License.
                                 className="storeButtonBar"
                                 click="headToSupport()"/>            
             </js:ControlBar>
-            <js:Container width="990" >
+            <js:Container width="990" id="viewholder">
                 <js:style>
-                    <js:SimpleCSSStyles paddingLeft="0" paddingRight="0" horizontalCenter="0"/>
+                    <js:SimpleCSSStyles paddingLeft="0" paddingRight="0"/>
                 </js:style>
                         
                 <HomeView id="homeView" width="100%" height="550" includeIn="Home"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a6d41529/examples/FlexJSStore/src/HomeView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/HomeView.mxml b/examples/FlexJSStore/src/HomeView.mxml
index aea6aee..451c5c1 100755
--- a/examples/FlexJSStore/src/HomeView.mxml
+++ b/examples/FlexJSStore/src/HomeView.mxml
@@ -100,7 +100,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 						
 						<js:HContainer width="100%" height="25" >
                             <js:style>
-                                <js:SimpleCSSStyles horizontalAlign="left" verticalAlign="middle"
/>
+                                <js:SimpleCSSStyles verticalAlign="middle" />
                             </js:style>
 							<js:TextInput height="20" width="40"/>
 							<js:HRule width="8" height="2"/>
@@ -134,7 +134,7 @@ Width and height are hard-coded in the root tag to help the Design view.
                         <js:SimpleCSSStyles left="0" right="10" top="10" />
                     </js:style>
 					<js:Image id="mapImage" width="487" height="100%" alpha="1.0" style="left:10;top:10"/>
-					<js:Label y="110" text="US Developers . Flex . FlexJS" width="95%" height="40" style="horizontalCenter:0;fontWeight:'bold';fontSize:22;color:#ffffff;fontFamily:'Arial';textAlign:'center'"/>
+					<js:Label y="110" text="US Developers . Flex . FlexJS" width="95%" height="40" style="margin:auto;fontWeight:'bold';fontSize:22;color:#ffffff;fontFamily:'Arial';textAlign:'center'"/>
 					<js:Label text="Learn More &gt;&gt;" width="95" style="fontSize:12;fontFamily:'Arial';bottom:10;right:10"/>
 					<js:Label text="$60/hr" style="color:#ffffff;fontWeight:'bold';fontFamily:'Arial';fontSize:20;right:10:top:10"/>
 					<js:Label text="Rates as low as" x="551" y="16" style="fontSize:12"/>
@@ -150,33 +150,33 @@ Width and height are hard-coded in the root tag to help the Design view.
 					<js:HContainer style="left:10;top:43" width="100%" height="100%">
 						<js:VContainer width="33%" height="100%">
 							<js:Container width="100%">
-								<js:Image id="image1" source="assets/akotter.jpg" style="horizontalCenter:0;verticalCenter:0"/>
+								<js:Image id="image1" source="assets/akotter.jpg" style="margin:auto;verticalCenter:0"/>
 							</js:Container>
 							
 							<js:Container width="100%">
-								<js:Label text="Annette Kotter" id="feat_prod_1" style="horizontalCenter:0;fontWeight:'bold';fontSize:12"/>
+								<js:Label text="Annette Kotter" id="feat_prod_1" style="margin:auto;fontWeight:'bold';fontSize:12"/>
 							</js:Container>
 							
 						</js:VContainer>
 						
 						<js:VContainer width="33%" height="100%">							
 							<js:Container width="100%">
-								<js:Image id="image2" style="horizontalCenter:0;verticalCenter:0" source="assets/bcrater.jpg"/>
+								<js:Image id="image2" style="margin:auto;verticalCenter:0" source="assets/bcrater.jpg"/>
 							</js:Container>
 							
 							<js:Container width="100%">
-								<js:Label text="Ben Crater" id="feat_prod_2" style="horizontalCenter:0;fontWeight:'bold';fontSize:12"/>
+								<js:Label text="Ben Crater" id="feat_prod_2" style="margin:auto;fontWeight:'bold';fontSize:12"/>
 							</js:Container>
 							
 						</js:VContainer>
 						
 						<js:VContainer width="33%" height="100%">
 							<js:Container width="100%">
-								<js:Image id="image3" style="horizontalCenter:0;verticalCenter:0" source="assets/jproctor.jpg"/>
+								<js:Image id="image3" style="margin:auto;verticalCenter:0" source="assets/jproctor.jpg"/>
 							</js:Container>
 							
 							<js:Container width="100%">
-								<js:Label text="Jane Proctor" id="feat_prod_3" style="horizontalCenter:0;fontWeight:'bold';fontSize:12"/>
+								<js:Label text="Jane Proctor" id="feat_prod_3" style="margin:auto;fontWeight:'bold';fontSize:12"/>
 							</js:Container>
 							
 						</js:VContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a6d41529/examples/FlexJSStore/src/SupportView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/SupportView.mxml b/examples/FlexJSStore/src/SupportView.mxml
index 3ce29a5..8fb9829 100755
--- a/examples/FlexJSStore/src/SupportView.mxml
+++ b/examples/FlexJSStore/src/SupportView.mxml
@@ -56,7 +56,7 @@ The width and height are hard-coded in the root tag to help the Design view.
 			
 				<js:Label y="10" text="Check Location" className="sectionHeader" x="20"/>
 				
-				<js:Container width="95%" height="150" y="64" style="horizontalCenter:0">
+				<js:Container width="95%" height="150" y="64" style="margin:auto">
                     <js:beads>
                         <js:VerticalColumnLayout numColumns="2" />
                     </js:beads>
@@ -83,32 +83,32 @@ The width and height are hard-coded in the root tag to help the Design
view.
 					
 				</js:Container>
 				
-				<js:Label y="38" text="Option1: Enter Address" style="horizontalCenter:0" className="instructions"/>
+				<js:Label y="38" text="Option1: Enter Address" style="margin:auto" className="instructions"/>
 				
 				<js:TextButton y="297" text="Locate" click="SimpleAlert.show('This feature is not
implemented in this sample', 'Locate')" 
-                                  style="horizontalCenter:0"/>
+                                  style="margin:auto"/>
 				
 				<js:HContainer y="327" width="80%" height="20" >
                     <js:style>
-                        <js:SimpleCSSStyles horizontalAlign="center" verticalAlign="middle"
horizontalCenter="0" />
+                        <js:SimpleCSSStyles margin="auto" verticalAlign="middle" />
                     </js:style>
 					<js:HRule width="60" />
 					<js:Label text="OR"/>
                     <js:HRule width="60" />
 				</js:HContainer>
 				
-				<js:Label y="355" text="Option 2: Drag this marker into the map" style="horizontalCenter:0"
className="instructions"/>
+				<js:Label y="355" text="Option 2: Drag this marker into the map" style="margin:auto"
className="instructions"/>
 				
-				<js:Image y="380" style="horizontalCenter:0" source="assets/support_mapmarker_plus.png"/>
+				<js:Image y="380" style="margin:auto" source="assets/support_mapmarker_plus.png"/>
 				
-				<js:HRule y="415" style="horizontalCenter:0" width="200" alpha="0.6"/>
+				<js:HRule y="415" style="margin:auto" width="200" alpha="0.6"/>
 				
 			</js:Container>
 			
 			<js:Container width="100%" height="40%">
 				<js:VContainer width="80%" height="90%" >
                     <js:style>
-                        <js:SimpleCSSStyles horizontalCenter="0" top="0"/>
+                        <js:SimpleCSSStyles margin="auto" top="0"/>
                     </js:style>
 					<js:Label text="Location" className="instructions"/>
 					<js:List width="100%" dataProvider="{locations}">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a6d41529/examples/FlexJSStore/src/productsView/Grip.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/Grip.mxml b/examples/FlexJSStore/src/productsView/Grip.mxml
index 9fe8427..f31ded4 100755
--- a/examples/FlexJSStore/src/productsView/Grip.mxml
+++ b/examples/FlexJSStore/src/productsView/Grip.mxml
@@ -21,7 +21,7 @@ limitations under the License.
                   xmlns:js="library://ns.apache.org/flexjs/basic" 
                   width="17" height="100%" >
     <js:style>
-        <js:SimpleCSSStyles paddingTop="10" horizontalAlign="center" />
+        <js:SimpleCSSStyles paddingTop="10" />
     </js:style>
 
     <fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a6d41529/examples/FlexJSStore/src/productsView/ProductCart.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductCart.mxml b/examples/FlexJSStore/src/productsView/ProductCart.mxml
index 0d509b6..45fa260 100755
--- a/examples/FlexJSStore/src/productsView/ProductCart.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductCart.mxml
@@ -22,7 +22,7 @@ limitations under the License.
     xmlns:productsView="productsView.*"
     >
     <js:style>
-        <js:SimpleCSSStyles horizontalAlign="right"
+        <js:SimpleCSSStyles 
                                paddingTop="8"
                                paddingBottom="8"
                                paddingRight="4"


Mime
View raw message