- 浏览: 782397 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (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 1078解决办法: 把Panel中的内容组件用<s:Scroll ... -
约束布局constraint layout
2013-03-01 14:02 1781约束布局constraint layout要点: 1)只有支持 ... -
根据屏幕分辨率动态调整组件大小
2013-02-22 17:34 1508将代码写在组件的preInitialize事件监听器里面 简化 ... -
设置Flex组件的尺寸大小
2013-02-21 16:17 1526深红色部分标明了需注意的地方 另外要注意组件和容器的生命周 ... -
ActionScript遍历绑定(BindProperty,BindSetter,ChangeWatcher)
2013-02-01 10:11 2438注意: 为防止内存益处,记得调用watcherInstance ... -
Flex程序适应不同屏幕尺寸和分辨率(滚动条)
2013-01-31 15:02 9750FlashBuilder编译后自动生成的xx.html里面定义 ... -
FlexContext, FlexClient,FlexSession
2013-01-15 15:05 2358使用了BlazeDS后,可以从FlexContext中获取一系 ... -
防止RemoteObject批处理AMF消息
2013-01-14 17:01 1249问题描述: 如果你在短时内调用同一个java对象上的两个方法, ... -
自动检测http和https的RemoteObject
2013-01-13 10:30 1723package { import util.Bro ... -
flex浏览器相关辅组类
2012-12-06 13:39 1245package util { import flash. ... -
Flex可变参数带来的问题
2012-12-06 13:34 1477当你在flex的方法中用了可变参数后,你会发现这些参数传到ja ... -
flex如何通过类名称实例化对象
2012-11-30 13:52 2720Getting the class from an objec ... -
flexlib的treeGrid用法
2012-11-30 13:46 1257为了使用treeGrid,通常你需要定义自己的DataDesc ... -
自定义flex tree的DataDescriptor
2012-11-30 13:42 1397public class EnvironmentDataDes ... -
关于Boolean类型在flex与java中间传递的问题
2012-11-30 13:38 1245/** *为简化,只列举两个字段 */ publi ... -
给Flex的Tree赋值方式(XML和ArrayCollection)
2012-11-30 09:33 40131)方式一,mxml内嵌xml数据赋值方式,Embedded ... -
Custom Alert
2012-11-26 19:21 0<?xml version="1.0&qu ... -
Flex服务端分页
2012-11-14 17:00 1043Structure: model event ... -
Flex可携带数据的Aler组件(DataCarriableAlert)
2012-11-14 16:52 1304package component.alert { ... -
映射flex类到java内部类
2012-11-14 16:05 1165java端 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" initialize="init()"> <fx:Declarations> <!-- 将非可视元素(例如服务、值对象)放在此处 --> </fx:Declarations> ...
minWidth: 180, layout: { type: 'form', labelWidth: 30 } } }, items: [{ items: [{ flex: 1, items: [me.ReservationDate] }, { flex: 1, items: [me.ReviewDate] }, { flex: 1, items: [me....
分析研究了1.3414μm Nd3+:YAP连续激光器波动的原因,探索了抑制波动的技术,研制成功高稳定 1.3414μm TEM00模激光器.激光输出功率5.3W,在0~25kHz频率范围内波动 ≤±O.87%,未观察到由弛豫振荡引起的尖峰,激光接近线...
impleImageTool1.3主要在最近写一个编辑工具时发现了不足,进行了些改进添加控制小于指定的尺寸不打水印 通过 waterMarkerMin(int minwidth, int minheight)设置,修正上一版有个地方流没关闭,现在更好用。...
在codeproject的源码基础上修改了以下...3、对窗体的MinWidth、MinHeight的设置无响应 里面有两个项目,一个是WindowResizer,另一个是自定义窗体(有前者的条用方法) 可以看下源码,如果觉得不好,欢迎反馈问题!
img.width=img.minwidth; img.height=img.minheight; img.left=0; img.top=0; img.style.width=img.minwidth+'px'; img.style.height=img.minheight+'px'; img.style.left='0px'; img.style.top='0px'; ...
minwidth: 30, //列的最小宽度 minheight: 80, //列的最小高度 resizable: true, //是否可伸缩 url: false, //ajax方式对应的url地址 method: ‘POST’, // 数据发送方式 dataType: ‘xml’, // 数据加载的类型...
impleImageTool1.5主要在最近写一个编辑工具时发现了不足,进行了些改进添加控制小于指定的尺寸不打水印 通过 waterMarkerMin(int minwidth, int minheight)设置,修正上一版有个地方流没关闭,现在更好用。...
这些范例展示了元素如何应用了一个浮动(默认)和装上可缩放的组件。 查看 basic.js 完整代码。 基本范例这是个简单的可缩放的范例。在矩形附近可调节大小。这个例子采用了“浮动... minWidth:100, minHeight:50 }); 包
混合当前可用的混合: /* Screen sizes */screen (minWidth , maxWidth )max-screen (maxWidth)min-screen (minWidth)screen-height (minHeight , maxHeight )max-screen-height (maxHeight)min-screen-height (minH
areaSelect ( { width : 200 , height : 300 , minWidth : 40 , minHeight : 40 , minHorizontalSpacing : 40 , minVerticalSpacing : 100 } ) ; areaSelect . addTo ( map ) ; // Read the bouding box var bounds...
minWidth: '580px', minHeight: '300px', resizeMode : 1, uploadJson : webRoot + '/kindeditor/UploadJson', resizeType : 1, //allowPreviewEmoticons : false, allowImageUpload : true, items : ...
bc.MinWidth = bc.MinHeight = 0; bc.MaxWidth = size.Width; bc.MaxHeight = size.Height; bc.ProcessImage(ivbmp); Rectangle[] rects = bc.GetObjectsRectangles(); Bitmap tmp = new Bitmap(bmp); ...
minWidth specifies the minimum width of the layout. minHeight specifies the minimum height of the layout. QuickStart Include the Gradle dependency dependencies { compile 'link.fls:boundlayout:1.0.0' ...
代码如下: Flexigrid部分代码代码 if (t.grid) return false; // return if already exist // apply default ...默认是奇偶交互的形式 novstripe : false, minwidth : 30, // 列的最小宽度 minheight : 80, // 列
电子面板 关于 启用在Electron中创建行为类似于面板的浏览器窗口的功能。... minHeight : 100 , minWidth : 100 , show : false , webPreferences : { preload : ` ${ __dirname } /preload.js` ,
minmax_props= new Array( new Array(‘min-width’, ‘minWidth’), new Array(‘max-width’, ‘maxWidth’), new Array(‘min-height’,’minHeight’), new Array(‘max-height’,’maxHeight’) ); // Binding...
参数说明:GetToWaterMarkImage(pictype, wmpicwidth, wmpicheight, mininfo, minwidth, minheight, effect, mosaic, mosX, mosY, mosWidth,mosHeight, imgcut, cutX, cutY, cutWidth, cutHeight)1.pictype:水印类型2...
config.minHeight = 400;config.minWidth = 400;config.mimeType = new String[]{"image/jpeg", "image/png"}; // 图片类型 image/gif ...config.minSize = 1 * 1024 * 1024; // 1Mb 图片大小单选PhotoPickerIntent ...