flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/5] git commit: [flex-asjs] [refs/heads/dual] - simply image/label pairs so they center in JS
Date Fri, 28 Apr 2017 07:03:11 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/dual f4a696828 -> eaba96161


simply image/label pairs so they center in JS


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

Branch: refs/heads/dual
Commit: 8f3c9a0eeb5d063c3ffd560098c0be10479483fa
Parents: f4a6968
Author: Alex Harui <aharui@apache.org>
Authored: Thu Apr 27 23:56:37 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Apr 27 23:56:37 2017 -0700

----------------------------------------------------------------------
 .../FlexJSStore/src/main/flex/HomeView.mxml     | 24 +++-----------------
 1 file changed, 3 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8f3c9a0e/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml b/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml
index 3a93319..ab10fa0 100755
--- a/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml
+++ b/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml
@@ -208,13 +208,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 								<js:VerticalLayout />
 							</js:beads>
  							<js:Image id="image1" src="assets/akotter.jpg" style="margin:auto;"/>					
	
-							<js:Group width="100%">
-							    <js:beads>
-									<js:BasicLayout />
-							    </js:beads>
-								<js:Label text="Annette Kotter" id="feat_prod_1" style="margin:auto;fontWeight:'bold';fontSize:12"/>
-							</js:Group>
-							
+							<js:Label text="Annette Kotter" id="feat_prod_1" style="textAlign:center;fontWeight:'bold';fontSize:12;"/>
 						</js:Group>
 						
 						<js:Group width="33%" height="100%">							
@@ -222,13 +216,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 								<js:VerticalLayout />
 							</js:beads>
 							<js:Image id="image2" style="margin:auto;" src="assets/bcrater.jpg"/>
-							<js:Group width="100%">
-							    <js:beads>
-									<js:BasicLayout />
-							    </js:beads>
-								<js:Label text="Ben Crater" id="feat_prod_2" style="margin:auto;fontWeight:'bold';fontSize:12"/>
-							</js:Group>
-							
+							<js:Label text="Ben Crater" id="feat_prod_2" style="textAlign:center;fontWeight:'bold';fontSize:12;"/>
 						</js:Group>
 						
 						<js:Group width="33%" height="100%">
@@ -236,13 +224,7 @@ Width and height are hard-coded in the root tag to help the Design view.
 								<js:VerticalLayout />
 							</js:beads>
 							<js:Image id="image3" style="margin:auto;" src="assets/jproctor.jpg"/>
-							<js:Group width="100%">
-							    <js:beads>
-									<js:BasicLayout />
-							    </js:beads>
-								<js:Label text="Jane Proctor" id="feat_prod_3" style="margin:auto;fontWeight:'bold';fontSize:12"/>
-							</js:Group>
-							
+							<js:Label text="Jane Proctor" id="feat_prod_3" style="textAlign:center;fontWeight:'bold';fontSize:12;"/>
 						</js:Group>
 						
 					</js:Group>


Mime
View raw message