Repository: flex-asjs
Updated Branches:
  refs/heads/develop 123210c3e -> 4e8d6b6a6


redo layout on ProductDetails.  %'s work differently in HTML


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

Branch: refs/heads/develop
Commit: ddfc11fe9094e99ddbef208a8b12ac747931fa57
Parents: 6d14708
Author: Alex Harui <aha...@apache.org>
Authored: Thu Jan 15 16:16:13 2015 -0800
Committer: Alex Harui <aha...@apache.org>
Committed: Fri Jan 23 12:24:03 2015 -0800

----------------------------------------------------------------------
 .../src/productsView/ProductDetails.mxml            | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ddfc11fe/examples/FlexJSStore/src/productsView/ProductDetails.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore/src/productsView/ProductDetails.mxml 
b/examples/FlexJSStore/src/productsView/ProductDetails.mxml
index ae128b7..044a896 100755
--- a/examples/FlexJSStore/src/productsView/ProductDetails.mxml
+++ b/examples/FlexJSStore/src/productsView/ProductDetails.mxml
@@ -80,25 +80,25 @@ limitations under the License.
             </fx:Array>
         </basic:dataProvider>
     </basic:ButtonBar>
-    <basic:Container width="100%" height="100%" >
+    <basic:Container >
         <basic:style>
             <basic:SimpleCSSStyles left="4" right="8" top="34" bottom="4" />
         </basic:style>
                     
 
-        <basic:VContainer width="100%" height="100%" includeIn="Features" >
+        <basic:VContainer includeIn="Features" >
             <basic:style>
                 <!--<basic:SimpleCSSStyles gap="8"-->
                 <basic:SimpleCSSStyles
-                    paddingLeft="8" paddingTop="8" paddingRight="8" 
paddingBottom="8"/>
+                    left="8" top="8" right="8" bottom="8"/>
             </basic:style>
-            <basic:HContainer width="100%" style="gap:12">
+            <basic:Container style="left:0px;right:0px">
 
                 <basic:Image id="img" width="101" height="101" 
source="{product.image}"/>
 
-                <basic:VContainer id="descr" width="100%" height="100%">
+                <basic:VContainer id="descr" >
                     <basic:style>
-                        <basic:SimpleCSSStyles paddingTop="0" />
+                        <basic:SimpleCSSStyles top="0" left="105" right="0" 
bottom="20" />
                         <!--<basic:SimpleCSSStyles paddingTop="0" gap="4" />-->
                     </basic:style>
                     
@@ -113,9 +113,9 @@ limitations under the License.
                     <basic:Label text="{cf.format(product.price)}" 
style="fontWeight:'bold'"/>
 
                 </basic:VContainer>
-            </basic:HContainer>
+            </basic:Container>
 
-            <basic:Label id="descriptionText" width="100%" height="100%" 
text="{product.description}"/>
+            <basic:Label id="descriptionText" 
style="left:0px;right:0px;bottom:0px" text="{product.description}"/>
 
         </basic:VContainer>
 

Reply via email to