<?xml version="1.0"?>
<!-- Simple example to demonstrate the VDividedBox layout -->
<!--
如何使用Flex VDividedBox
MyShareBook.cn 翻译
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel title="VDividedBox Container Example" width="90%" height="90%"
paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
<mx:Text width="100%" color="blue"
text="Drag the divider up and down to resize the children."/>
<mx:VDividedBox width="100%" height="100%">
<mx:Canvas label="Canvas 1" width="100%" height="100%" backgroundColor="#FFFFCC">
<mx:Label text="Add components here" fontWeight="bold"/>
</mx:Canvas>
<mx:Canvas label="Canvas 2" width="100%" height="100%" backgroundColor="#99CCFF">
<mx:Label text="Add components here" fontWeight="bold"/>
</mx:Canvas>
</mx:VDividedBox>
</mx:Panel>
</mx:Application>
如何使用Flex VDividedBox
最新推荐文章于 2014-09-30 10:49:45 发布