<?xml version="1.0"?>
<!-- Simple example to demonstrate the Spacer control. -->
<!--
如何使用Flex Spacer
MyShareBook.cn 翻译
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel id="panel" title="Spacer Control Example" height="75%" width="75%"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
<mx:Text width="100%" color="blue"
text="The Spacer control pushes the second image to the right edge of the HBox container."/>
<mx:HBox width="100%">
<mx:Image source="@Embed('assets/Nokia_6630.png')"/>
<mx:Spacer width="100%"/>
<mx:Image source="@Embed('assets/Nokia_6680.png')"/>
</mx:HBox>
</mx:Panel>
</mx:Application>
如何使用Flex Spacer
最新推荐文章于 2022-03-02 22:14:19 发布