Test view for MobileSocks.

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

Branch: refs/heads/refactor-sprite
Commit: 4c8bd84808efbd3fa13a24e26f9091923be01602
Parents: 8058386
Author: Peter Ent <p...@apache.org>
Authored: Wed Oct 12 08:52:49 2016 -0400
Committer: Peter Ent <p...@apache.org>
Committed: Wed Oct 12 08:52:49 2016 -0400

----------------------------------------------------------------------
 .../src/VerticalLayoutTextView.mxml             | 68 ++++++++++++++++++++
 1 file changed, 68 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4c8bd848/examples/flexjs/MobileStocks/src/VerticalLayoutTextView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileStocks/src/VerticalLayoutTextView.mxml 
b/examples/flexjs/MobileStocks/src/VerticalLayoutTextView.mxml
new file mode 100755
index 0000000..0353195
--- /dev/null
+++ b/examples/flexjs/MobileStocks/src/VerticalLayoutTextView.mxml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<js:View xmlns:fx="http://ns.adobe.com/mxml/2009";
+                               xmlns:js="library://ns.apache.org/flexjs/basic"
+                        >
+       
+       <fx:Style>
+               @namespace js  "library://ns.apache.org/flexjs/basic";
+               @namespace views  "views.*";
+               
+               .TopContainer {
+                       background-color: #FFFFCC;
+               }
+               
+               .MidContainer {
+                       background-color: #FFCCFF;
+               }
+               
+               .BotContainer {
+                       background-color: #CCFFFF;
+               }
+               
+       </fx:Style>
+       
+       <fx:Script>
+               <![CDATA[
+                       
+               ]]>
+       </fx:Script>
+       
+       <js:beads>
+               <js:ViewDataBinding />
+       </js:beads>
+       
+       <js:VContainer width="100%" height="100%">
+       
+               <js:Container width="100%" height="25%" 
className="TopContainer">
+                       <js:Label text="Top Container: 25%" />
+               </js:Container>
+       
+               <js:Container width="100%" height="50%" 
className="MidContainer">
+                       <js:Label text="Middle Container: 50%" />
+               </js:Container>
+       
+               <js:Container width="100%" height="25%" 
className="BotContainer">
+                       <js:Label text="Bottom Container: 25%" />
+               </js:Container>
+               
+       </js:VContainer>
+       
+</js:View>

Reply via email to