- 浏览: 804390 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (360)
- Java (101)
- JPA/Hibernate (10)
- Spring (14)
- Flex/BlazeDS (37)
- Database (30)
- Lucene/Solr/Nutch (0)
- Maven/Ant (25)
- CXF/WebService (3)
- RPC/RMI/SOAP/WSDL (1)
- REST (6)
- TDD/BDD/JUnit (1)
- Servlet/JSP (2)
- AI/MachineLearning (3)
- Resource (1)
- 字符编码 (2)
- OOA/OOPS/UML (5)
- DesignPattern (8)
- 算法与数据结构 (11)
- Web&App Server (13)
- 并发&异步&无阻塞 (7)
- Entertainment (4)
- JavaScript/ExtJS (45)
- CodeStyle&Quality (1)
- svn/git/perforce (8)
- JSON (2)
- JavaScriptTesting (4)
- Others (6)
- RegularExpression (2)
- Linux/Windows (12)
- Protocal (2)
- Celebrities (1)
- Interview (1)
- 计算机语言 (1)
- English (2)
- Eclipse (5)
- TimeZone/时区 (1)
- Finance (1)
- 信息安全 (1)
- JMS/MQ (2)
- XSD/XML/DTD (3)
- Android (4)
- 投资 (3)
- Distribution (3)
- Excel (1)
最新评论
-
qdujunjie:
如果把m换成具体的数字,比如4或者5,会让读者更明白
m阶B树中“阶”的含义 -
java-admin:
不错,加油,多写点文章
关于Extjs的mixins和plugin -
xiehuaidong880827:
你好,我用sencha cmd打包完本地工程后,把app.js ...
ExtJS使用Sencha Cmd合并javascript文件为一个文件 -
KIWIFLY:
lwpan 写道inverse = "true&qu ...
Hibernate中什么时候使用inverse=true -
luedipiaofeng:
good
消除IE stop running this script弹出框
minWidth
这个值并不是给组件自己用的,而是给组件的父容器用的,这是当父容器在布局时,推荐的最小的组件的宽度。请注意,如果你设置了该值的同时也设置了width,那么在布局时如果width大于minWidth,那么最终的宽度是width,如果width小于minWidth,那么最终的宽度是minWidth。以下是API文档。
The minimum recommended width of the component to be considered
by the parent during layout. This value is in the
component's coordinates, in pixels. The default value depends on
the component's implementation.
If the application developer sets the value of minWidth,
the new value is stored in explicitMinWidth. The default value of minWidth
does not change. As a result, at layout time, if
minWidth was explicitly set by the application developer, then the value of
explicitMinWidth is used for the component's minimum recommended width.
If minWidth is not set explicitly by the application developer, then the value o
measuredMinWidth is used.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true minWidth with respect to its parent
is affected by the scaleX property.
这个值并不是给组件自己用的,而是给组件的父容器用的,这是当父容器在布局时,推荐的最小的组件的宽度。请注意,如果你设置了该值的同时也设置了width,那么在布局时如果width大于minWidth,那么最终的宽度是width,如果width小于minWidth,那么最终的宽度是minWidth。以下是API文档。
The minimum recommended width of the component to be considered
by the parent during layout. This value is in the
component's coordinates, in pixels. The default value depends on
the component's implementation.
If the application developer sets the value of minWidth,
the new value is stored in explicitMinWidth. The default value of minWidth
does not change. As a result, at layout time, if
minWidth was explicitly set by the application developer, then the value of
explicitMinWidth is used for the component's minimum recommended width.
If minWidth is not set explicitly by the application developer, then the value o
measuredMinWidth is used.
This value is used by the container in calculating
the size and position of the component.
It is not used by the component itself in determining
its default size.
Thus this property may not have any effect if parented by
Container, or containers that don't factor in
this property.
Because the value is in component coordinates,
the true minWidth with respect to its parent
is affected by the scaleX property.
发表评论
-
Panel高度为0但里面的组件依旧显示
2013-04-24 14:34 1119解决办法: 把Panel中的内容组件用<s:Scroll ... -
约束布局constraint layout
2013-03-01 14:02 1859约束布局constraint layout要点: 1)只有支持 ... -
根据屏幕分辨率动态调整组件大小
2013-02-22 17:34 1557将代码写在组件的preInitialize事件监听器里面 简化 ... -
设置Flex组件的尺寸大小
2013-02-21 16:17 1577深红色部分标明了需注意的地方 另外要注意组件和容器的生命周 ... -
ActionScript遍历绑定(BindProperty,BindSetter,ChangeWatcher)
2013-02-01 10:11 2501注意: 为防止内存益处,记得调用watcherInstance ... -
Flex程序适应不同屏幕尺寸和分辨率(滚动条)
2013-01-31 15:02 9870FlashBuilder编译后自动生成的xx.html里面定义 ... -
FlexContext, FlexClient,FlexSession
2013-01-15 15:05 2424使用了BlazeDS后,可以从FlexContext中获取一系 ... -
防止RemoteObject批处理AMF消息
2013-01-14 17:01 1319问题描述: 如果你在短时内调用同一个java对象上的两个方法, ... -
自动检测http和https的RemoteObject
2013-01-13 10:30 1821package { import util.Bro ... -
flex浏览器相关辅组类
2012-12-06 13:39 1284package util { import flash. ... -
Flex可变参数带来的问题
2012-12-06 13:34 1529当你在flex的方法中用了可变参数后,你会发现这些参数传到ja ... -
flex如何通过类名称实例化对象
2012-11-30 13:52 2773Getting the class from an objec ... -
flexlib的treeGrid用法
2012-11-30 13:46 1327为了使用treeGrid,通常你需要定义自己的DataDesc ... -
自定义flex tree的DataDescriptor
2012-11-30 13:42 1445public class EnvironmentDataDes ... -
关于Boolean类型在flex与java中间传递的问题
2012-11-30 13:38 1287/** *为简化,只列举两个字段 */ publi ... -
给Flex的Tree赋值方式(XML和ArrayCollection)
2012-11-30 09:33 40611)方式一,mxml内嵌xml数据赋值方式,Embedded ... -
Custom Alert
2012-11-26 19:21 0<?xml version="1.0&qu ... -
Flex服务端分页
2012-11-14 17:00 1089Structure: model event ... -
Flex可携带数据的Aler组件(DataCarriableAlert)
2012-11-14 16:52 1368package component.alert { ... -
映射flex类到java内部类
2012-11-14 16:05 1210java端 public class Person{ p ...
相关推荐
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="0" minHeight="0" backgroundColor="#FFFFFF" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#...
minWidth="955" minHeight="600"> <![CDATA[ import mx.controls.Alert; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; protected function serv_result(event:ResultEvent):void{ ...
minWidth="21" minHeight="21" alpha.disabled="0.5"> <!-- 定义各种状态 --> <!-- 背景图片定义 --> ('assets/pattern_147.gif')"/> <!-- 其他样式定义 --> ``` 在这个皮肤类中,`<s:Rect>...
minWidth="955" minHeight="600"> ``` 这部分定义了一个Flex应用程序的基本结构。`<s:Application>`是应用程序的根元素,其中包含命名空间声明和最小尺寸设置。`<s:VerticalLayout>`定义了布局方式为垂直...
layout="absolute" minWidth="1024" minHeight="768"> <![CDATA[ import mx.controls.Alert; protected function testclick_clickHandler(event:MouseEvent):void { this.testtext.text = "Faint, faint, ...
minWidth="955" minHeight="600" initialize="init()"> <fx:Declarations> <!-- 将非可视元素(例如服务、值对象)放在此处 --> </fx:Declarations> ...
minHeight="600" creationComplete="init();"> destination="employeeService" result="resultHandler(event);" fault="faultHandler(event);"/> <![CDATA[ import mx.controls.Alert; import mx....
minWidth="955" minHeight="600"> <![CDATA[ import mx.controls.Alert; protected function button1_clickHandler(event:MouseEvent):void{ Alert.show("Hello World !",'提示'); } ]]> <!-- 将非...
6. **尺寸**:如果需要调整Alert的大小,可以设置`width`和`height`属性,或者使用`minWidth`, `maxWidth`, `minHeight`和`maxHeight`来限制大小范围。 7. **动画效果**:虽然Alert组件默认没有动画效果,但可以...
minWidth="955" minHeight="600"> <![CDATA[ import mx.controls.Alert; import mx.events.FlexEvent; protected function empDg_creationCompleteHandler(event:FlexEvent):void { getEmployeesResult....
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600" borderStyle="solid" borderColor="#BCB8B7" creationComplete="initApp()"> // 代码逻辑 ...
minHeight="600"> <!-- 非可视元素放在此处 --> x="183" y="124" width="155" height="142" scaleMode="stretch" smooth="true" smoothingQuality="high" source="2008923113156903.png"/> ``` 在...