| <?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. |
| |
| --> |
| <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" |
| xmlns:s="library://ns.adobe.com/flex/spark" |
| xmlns:mx="library://ns.adobe.com/flex/mx" > |
| <s:layout> |
| <s:ConstraintLayout> |
| <s:constraintColumns> |
| <s:ConstraintColumn id="col1" width="60"/> |
| <s:ConstraintColumn id="col2" /> |
| <s:ConstraintColumn id="col3" width="100"/> |
| <s:ConstraintColumn id="col4"/> |
| <s:ConstraintColumn id="col5"/> |
| </s:constraintColumns> |
| <s:constraintRows> |
| <s:ConstraintRow id="row1" height="100"/> |
| <s:ConstraintRow id="row2"/> |
| <s:ConstraintRow id="row3" height="50"/> |
| <s:ConstraintRow id="row4"/> |
| <s:ConstraintRow id="row5"/> |
| </s:constraintRows> |
| </s:ConstraintLayout> |
| </s:layout> |
| <s:Button id="btn1" top="row1:0" label="btn1" /> |
| <s:Button id="btn2" top="row2:0" label="btn2"/> |
| <s:TextInput id="ti" top="row3:0" /> |
| <s:TextArea id="ta" top="row4:0" height="120"/> |
| <s:ComboBox id="cb" top="row5:0" left="col4:0" width="120" > |
| <s:dataProvider> |
| <mx:ArrayList> |
| <fx:String>Red</fx:String> |
| <fx:String>Orange</fx:String> |
| <fx:String>Yellow</fx:String> |
| <fx:String>Blue</fx:String> |
| <fx:String>Green</fx:String> |
| </mx:ArrayList> |
| </s:dataProvider> |
| </s:ComboBox> |
| </s:Group> |