You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/03/28 14:19:08 UTC
flex-tourjs git commit: Changed the layout/styles a bit to get things
to show up.
Repository: flex-tourjs
Updated Branches:
refs/heads/develop 4a4e874ff -> 7d55dec3c
Changed the layout/styles a bit to get things to show up.
Project: http://git-wip-us.apache.org/repos/asf/flex-tourjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tourjs/commit/7d55dec3
Tree: http://git-wip-us.apache.org/repos/asf/flex-tourjs/tree/7d55dec3
Diff: http://git-wip-us.apache.org/repos/asf/flex-tourjs/diff/7d55dec3
Branch: refs/heads/develop
Commit: 7d55dec3c44b445ea98f0550ee6abb831ce9f8e6
Parents: 4a4e874
Author: Peter Ent <pe...@apache.org>
Authored: Tue Mar 28 10:19:06 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Mar 28 10:19:06 2017 -0400
----------------------------------------------------------------------
TourJS/src/main/flex/TourJS.mxml | 2 +-
TourJS/src/main/flex/TourJSMainView.mxml | 26 ++++++++++++++------------
2 files changed, 15 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/7d55dec3/TourJS/src/main/flex/TourJS.mxml
----------------------------------------------------------------------
diff --git a/TourJS/src/main/flex/TourJS.mxml b/TourJS/src/main/flex/TourJS.mxml
index 58635ba..54e9dd0 100644
--- a/TourJS/src/main/flex/TourJS.mxml
+++ b/TourJS/src/main/flex/TourJS.mxml
@@ -20,7 +20,7 @@ limitations under the License.
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:js="library://ns.apache.org/flexjs/basic"
- width="900" height="500">
+ >
<js:valuesImpl>
<js:SimpleCSSValuesImpl />
</js:valuesImpl>
http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/7d55dec3/TourJS/src/main/flex/TourJSMainView.mxml
----------------------------------------------------------------------
diff --git a/TourJS/src/main/flex/TourJSMainView.mxml b/TourJS/src/main/flex/TourJSMainView.mxml
index ece8fdf..c807e75 100644
--- a/TourJS/src/main/flex/TourJSMainView.mxml
+++ b/TourJS/src/main/flex/TourJSMainView.mxml
@@ -120,18 +120,24 @@ limitations under the License.
.Explorer {
background-color: #FEFEFE;
margin-right: 5px;
+ flex-grow: 1;
}
.ExplorerTree {
border: none;
+ flex-grow: 1;
}
.RunningExample {
margin-bottom: 5px;
background-color: #FEFEFE;
- min-height: 150px;
+ flex-grow: 1;
}
- .ExampleCode {
+ .ExampleArea {
background-color: #FEFEFE;
border: 1px solid #000000;
+ flex-grow: 1;
+ }
+ .SourceCode {
+ flex-grow: 1;
}
</fx:Style>
@@ -157,23 +163,19 @@ limitations under the License.
</js:beads>
<js:Panel id="topPanel" title="Example" width="100%" className="RunningExample">
<js:beads>
- <js:VerticalFlexLayout grow="1"/>
+ <js:VerticalFlexLayout/>
</js:beads>
<js:SubAppLoader id="exampleApp" width="100%" />
</js:Panel>
- <js:Group width="100%">
+ <js:Group width="100%" className="ExampleArea">
<js:beads>
- <js:VerticalFlexLayout grow="1" />
+ <js:VerticalFlexLayout/>
</js:beads>
- <js:ButtonBar id="buttonBar" width="100%" change="changeExample()">
- <js:beads>
- <js:HorizontalFlexLayout grow="1"/>
- </js:beads>
- </js:ButtonBar>
- <js:Container width="100%" className="ExampleCode">
+ <js:ButtonBar id="buttonBar" width="100%" height="40" change="changeExample()" />
+ <js:Container width="100%" className="SourceCode">
<js:beads>
- <js:VerticalFlexLayout grow="1"/>
+ <js:VerticalFlexLayout/>
<js:ScrollingViewport />
</js:beads>
<express:MXMLViewer id="codeArea" width="100%"/>