http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-cellsformatting.htm
$("#jqxgrid").jqxGrid(
{
width: 670,
height: 450,
source: source,
theme: th...
分类:
其他好文 时间:
2014-12-03 09:23:39
阅读次数:
319
Event.RESIZE 窗口尺寸改变时stage.width,stage.height 标识当前舞台上所有元素组合后的宽和高stage.stageWidth,stage.stageHeight 表示当前窗口的宽和高设置编译参数 -default-size 1440 900指定缩放模式 s...
分类:
其他好文 时间:
2014-12-03 09:22:18
阅读次数:
133
/** * * { * "id": 2, * "title": "json title", * "config": { * "width": 34, * "height": 35 * }, * "data":...
分类:
其他好文 时间:
2014-12-02 18:45:11
阅读次数:
152
首先:一个例子:
#div1 {
height:20px;
width:20px;
border-color:#FF9600 #3366ff #12ad2a #f0eb7a;
border-style:solid;
border-width:20px;
}
此代码的效果图为:
中间白色为宽高各为20p...
分类:
Web程序 时间:
2014-12-02 16:42:08
阅读次数:
103
1、单行文本垂直居中的方法:将line-height设为和所在元素的高度一样。例如,使文字在div中水平和垂直居中,假设你的DIV是高度100PX,宽度是1000PX,那你这样写,你的文字就会水平垂直居中:水平垂直居中 。 text-align:center意思就是说,让这个DIV里的文字水平居中,...
分类:
其他好文 时间:
2014-12-01 23:50:20
阅读次数:
165
using namespace cv;1、Mat的声明:Mat m=Mat(rows, cols, type);Mat m=Mat(Size(width,height), type);type指矩阵中元素的类型,可以使CV_8U(无符号单字节像素),CV_8S(有符号单字节像素),CV_8UC3(3...
分类:
其他好文 时间:
2014-12-01 19:07:59
阅读次数:
198
<!doctypehtml>
<htmllang="en">
<head>
<metacharset="UTF-8">
<title>表单序列化</title>
</head>
<body>
<divstyle="width:350px;height:200px;background-color:YellowGreen">
<formid="myform">
<inputt..
分类:
编程语言 时间:
2014-12-01 16:23:49
阅读次数:
270
网上看了一堆关于bounds的文章,大多是引用一张通用的图片,实际上bounds的可以简单的概括起来只有两方面
1 当我们通过 setBounds 方法设置bounds的 初始化位置 即 x,y
2 当我们通过 setBounds 方法修改bounds的 大小 即 width 和 height
3 当我们通过 setBounds 方法同时修改上面的两个属性的时候
情况一
众所周...
分类:
移动开发 时间:
2014-12-01 16:05:16
阅读次数:
164
android:layout_height="wrap_content"android:layout_width="0dip"android:layout_weight="1"/>权重//全局变量的快捷ctr+1提示快捷键alt+/复制快捷键ctrl+alt+↓移动alt+↓发短信(最后要授权permission.SEND_SMS)publicvoidonClick(Viewv){switch(v.getId()){caseR.id.bt..
分类:
其他好文 时间:
2014-12-01 06:40:10
阅读次数:
203
文本标签: 文本加粗 斜体 下划线 作为下标 作为上标样式: italic;斜体 text-decoration:none; 去掉下划线 link;超链接未点击 visited;点击过 line-height;行间距 letter-spacing;字间距 border-col...
分类:
Web程序 时间:
2014-12-01 00:38:31
阅读次数:
311