<?xml version="1.0" encoding="utf-8"?> <!--通过layout属性,设置ButtonBar布局--> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> <fx:Declarations> <!-- 将非可视元素(例如服务、值对象)放在此处 --> </fx:Declarations> <s:ButtonBar id="btnBar" horizontalCenter="0" verticalCenter="0" skinClass="skins.CustomButtonBarSkin"> <s:dataProvider> <s:ArrayList source="[The,Quick,Brown,Fox,Jumps,Over,The,Lazy,Dog]" /> </s:dataProvider> </s:ButtonBar> </s:Application>
时间: 2024-10-20 23:29:13