flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [02/50] git commit: [flex-asjs] [refs/heads/tlf] - give up on flex layouts for full-screen 3-pane layouts
Date Tue, 30 May 2017 19:47:37 GMT
give up on flex layouts for full-screen 3-pane layouts


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

Branch: refs/heads/tlf
Commit: f05a94f40491eb4f88a05d3a8d4e70b3257171b7
Parents: 23c4c7a
Author: Alex Harui <aharui@apache.org>
Authored: Tue May 23 00:12:47 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue May 23 00:15:57 2017 -0700

----------------------------------------------------------------------
 .../ASDoc/src/main/flex/ASDocMainView.mxml      | 26 ++++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f05a94f4/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml b/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
index cd5a978..d1b7158 100644
--- a/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
+++ b/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
@@ -59,36 +59,36 @@ limitations under the License.
 	</fx:Style>
     <js:beads>
         <js:ViewDataBinding />
-        <js:OneFlexibleChildVerticalLayout flexibleChild="topContainer" />        
       
+        <js:OneFlexibleChildVerticalLayoutForOverflow flexibleChild="topContainer" />
               
     </js:beads>
     <js:Group width="100%" id="titleGroup">
         <js:beads>
-            <js:FlexibleFirstChildHorizontalLayout/>
+            <js:OneFlexibleChildHorizontalLayoutForOverflow flexibleChild="title" />
         </js:beads>
-        <js:Label text="FlexJS ActionScript Library Reference" height="30" style="fontSize:20"/>
+        <js:Label text="FlexJS ActionScript Library Reference" id="title" height="30"
style="fontSize:20"/>
         <js:CheckBox id="topLevel" text="Top-Level" click="showTopLevel()" />
         <js:CheckBox id="viewBeads" text="View Bead" click="showViewBeads()" />
     </js:Group>
-    <js:Group width="100%" className="topContainer" id="topContainer" style="align-items:
start">
+    <js:Group width="100%" className="topContainer" id="topContainer">
         <js:beads>
-            <js:OneFlexibleChildHorizontalLayoutLockChildHeight flexibleChild="rightSide"
/>
+            <js:OneFlexibleChildHorizontalLayoutForOverflow flexibleChild="rightSide"
/>
             <js:LayoutChangeNotifier watchedProperty="{ASDocModel(applicationModel).packageList}"
initialValue="null" />
         </js:beads>
-        <js:Group width="300" className="leftSide" id="leftSide">
+        <js:Group width="300" height="100%" className="leftSide" id="leftSide">
             <js:beads>
-                <js:VerticalFlexLayout />
+                <js:VerticalLayout />
             </js:beads>
-            <js:List id="packageList" dataProvider="{ASDocModel(applicationModel).packageList}"
change="packageChangedHandler()" width="100%" height="50%" style="flex-grow: '1';flex-shrink:
'1'"/>
-            <js:List id="classList" dataProvider="{ASDocModel(applicationModel).classList}"
change="classChangedHandler()"  width="100%" height="50%" style="flex-grow: '1';flex-shrink:
'1'"/>
+            <js:List id="packageList" dataProvider="{ASDocModel(applicationModel).packageList}"
change="packageChangedHandler()" width="100%" height="50%"/>
+            <js:List id="classList" dataProvider="{ASDocModel(applicationModel).classList}"
change="classChangedHandler()"  width="100%" height="50%"/>
         </js:Group>
-        <js:Container className="rightSide" id="rightSide" style="align-items: start">
+        <js:Container className="rightSide" id="rightSide" height="100%">
             <js:beads>
-                <js:OneFlexibleChildVerticalLayoutLockChildWidth flexibleChild="detailsPane"
/>
+                <js:VerticalLayout />
                 <js:ScrollingViewport />
             </js:beads>
-            <js:Group id="detailsPane">
+            <js:Group id="detailsPane" width="100%">
 	            <js:beads>
-	                <js:VerticalFlexLayout />
+	                <js:VerticalLayout />
 	            </js:beads>
 	            <js:Label id="packageName"  text="{ASDocModel(applicationModel).currentPackage}"
width="100%"/>
 	            <js:Label id="baseName" text="{ASDocModel(applicationModel).currentClass}"
width="100%" style="fontSize:20"/>


Mime
View raw message