ExtJS中Panel怎样居中显示,region:'center'不行。 5
varmainForm=Ext.create('Ext.form.Panel',{url:'/Card/CheckNewCard',name:'biaodan',widt...
var mainForm = Ext.create('Ext.form.Panel', {
url: '/Card/CheckNewCard',
name: 'biaodan',
width: 350,
bodyStyle: {
// background: '#DFE9F6',
padding: '5px',
width: 350,
border: 0,
},
fieldDefaults: {
labelAlign: 'right',
labelWidth: 80,
msgTarget: 'side'//,
//labelwidth: 130,
},
items: [begincardno, endcardno, btnOK]
}); 展开
url: '/Card/CheckNewCard',
name: 'biaodan',
width: 350,
bodyStyle: {
// background: '#DFE9F6',
padding: '5px',
width: 350,
border: 0,
},
fieldDefaults: {
labelAlign: 'right',
labelWidth: 80,
msgTarget: 'side'//,
//labelwidth: 130,
},
items: [begincardno, endcardno, btnOK]
}); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询