tile布局的ButtonBar
来源:互联网 发布:淘宝 云客服 工资 编辑:程序博客网 时间:2024/04/30 08:45
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2009/03/26/creating-a-tile-layout-fxbuttonbar-control-in-flex-gumbo/ -->
<s:Application name="Spark_ButtonBar_TileLayout_test"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<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>
CustomButtonBarSkin:
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2009/03/26/creating-a-tile-layout-fxbuttonbar-control-in-flex-gumbo/ -->
<s:Skin name="CustomButtonBarSkin"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
alpha.disabled="0.5">
<s:states>
<s:State name="normal" />
<s:State name="disabled" />
</s:states>
<fx:Metadata>
<![CDATA[
[HostComponent("spark.components.ButtonBar")]
]]>
</fx:Metadata>
<fx:Declarations>
<fx:Component id="middleButton">
<s:ButtonBarButton skinClass="spark.skins.default.ButtonBarMiddleButtonSkin" />
</fx:Component>
</fx:Declarations>
<s:DataGroup id="dataGroup" width="100%" height="100%">
<s:layout>
<s:TileLayout requestedColumnCount="3"
columnWidth="200"
horizontalGap="-1"
verticalGap="-1" />
</s:layout>
</s:DataGroup>
</s:Skin>
- tile布局的ButtonBar
- 关于Tile方式的布局
- 一个tile布局的下拉框
- 介绍Flex的ButtonBar和ToggleButtonBar控件
- 怎样使用LinearLayout的ButtonBar样式
- 介绍Flex的ButtonBar和ToggleButtonBar控件
- Numpy的tile函数
- Numpy的tile函数
- Numpy的tile函数
- OsgEarth的tile
- Numpy的tile函数
- Numpy的tile函数
- Numpy的tile函数
- Numpy的tile函数
- tile函数的使用
- NumPy的tile函数
- tile函数的总结
- ButtonBar实例
- lucene Version parameter
- AVR开发之一:WinAVR+AVR Studio 新手入门必读
- linux 下 mysql下保存进去数据为乱码的解决办法(centos5.x)
- 关于把二元查找树转变成排序的双向链表(树)的C语言设计程序执行后出现段错误的问题
- MTK idle界面涉及的函数
- tile布局的ButtonBar
- 正则基础之——捕获组
- 中兴V880自带收音机没有外放功能
- 学期结束时
- 利用Python写的二分法查找算法及测试
- [Nosql]MongoDb+Spring [undone]java.lang.NoClassDefFoundError: org/springframework/data/mapping/context/MappingContextAware
- 存储过程中使用事务
- C# aspx文件下载
- How should I run fsck on a Linux file system