Flex4中 超出父容器边界的子项隐藏
来源:互联网 发布:如何更改淘宝店招 编辑:程序博客网 时间:2024/06/05 23:08
转:http://www.it165.net/design/html/201109/308.html
设置clipAndEnableScrolling = true
<?xml version="1.0" encoding="utf-8"?> <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" currentState="show"> <fx:Declarations> <s:Sine id="sineEasing" easeInFraction="0.3"/> <s:Move id="hideMove" target="{targetBox}" xTo="{-200}" duration="1000" easer="{sineEasing}" effectEnd="{currentState = 'hide'}"/> <s:Move id="showMove" xTo="0" duration="1000" target="{targetBox}" effectEnd="{currentState = 'show'}"/> </fx:Declarations> <s:states> <s:State name="show"/> <s:State name="hide"/> </s:states> <s:Panel title="Move Effect Example" id="testPanel" x="100" width="75%" height="75%"> <s:layout> <s:BasicLayout clipAndEnableScrolling="true"/> </s:layout> <s:VGroup id="targetBox" width="50%"> <s:HGroup> <s:Panel title="test move" width="200" height="200" id="testpanel"> <s:TextArea text="clipContent值:True:当子项目的边界超出此容器时,不显示子项目在此容器中。Flase:当子项目的边界超出此容器时,显示子项目在此容器中。"/> </s:Panel> <s:Button height="200" width="40" click.show="{hideMove.play()}" click.hide="{showMove.play()}"/> </s:HGroup> </s:VGroup> </s:Panel> </s:Application>
- Flex4中 超出父容器边界的子项隐藏
- 关于子项超出Group父容器部分隐藏
- 关于限制子窗体在父容器中移动边界的总结(很简单的东西,写给新人)
- html 图片超出父容器,文字超出边界需要自动换行处理方法
- Flex4的容器
- 使用Python+Qt时解决QTreeWidget中的内容超出边界后自动隐藏的问题
- Html获取父 同级 子元素,已经文本超出隐藏
- CSS中父容器跟随子容器的高度自适应
- 【安卓】让子元素超出容器限制、!如何实现更灵活的容器布局、!
- 解决CSS样式有超出的边界
- flex4 遍历容器的方法
- 超出父视图的子视图事件
- 隐藏css中超出TD宽度的字段的方法
- ie10中元素超出父元素的宽度时不能自动隐藏
- flex布局中,保持内容不超出容器的解决办法
- 隐藏超出长度的字符
- Flex4中TitleWindow隐藏关闭按钮方法
- 超出边界字体换行
- MFC将Debug转换成release版本
- rpm安装命令
- NewInt 3
- QQ接口
- 网页中js弹出模式窗口并传值的问题
- Flex4中 超出父容器边界的子项隐藏
- 安装tokyocabinet时提示bzlib.h is required解决方案
- The declared package "com.XXX" does not match the expected package ""
- 什么是内边距(padding)和外边距(margin)
- 计算机插入U盘意外重启,VMware虚拟机不能启动
- 动态切换数据源
- Android 数据库
- nginx ssl加密代理配置指南
- DRBD使用总结