Form.superclass.constructor.call(this, {
id:'info',
anchor:'100%',
layout:'table',
bodyStyle:'padding:20px 10px 0 10px',
border:false,
//defaults: {labelWidth: 300},
height:240,
layoutConfig: {
columns: 10
},
labelAlign:'right'
});Ext.extend(Form, Ext.FormPanel, {
// title : ' 当前位置:发布任务',
labelWidth : 100,
autoScroll : true
});form= new Form();
form.add({html:'<td align=center>'+platvals[loop-3]+'<td>',width:100,height:40});
我<td>里写了居中 可是不起作用啊! 有人知道怎么让单元格内的文字居中吗??
id:'info',
anchor:'100%',
layout:'table',
bodyStyle:'padding:20px 10px 0 10px',
border:false,
//defaults: {labelWidth: 300},
height:240,
layoutConfig: {
columns: 10
},
labelAlign:'right'
});Ext.extend(Form, Ext.FormPanel, {
// title : ' 当前位置:发布任务',
labelWidth : 100,
autoScroll : true
});form= new Form();
form.add({html:'<td align=center>'+platvals[loop-3]+'<td>',width:100,height:40});
我<td>里写了居中 可是不起作用啊! 有人知道怎么让单元格内的文字居中吗??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货