问题描述
- 关于extjs布局,只显示一列
-
代码如下,这个actionPanel有两列,第一列是6个Button正常显示(newTimeLine,addTimeLine,.....),第二列是6个Label显示不出来(finishLabel,...)。
能不能帮忙看是哪里错了?var actionPanel=new Ext.form.FormPanel({
region:'center',
border:false,
labelAlign:'right',
bodyStyle : 'padding:5 5 0',
items:[{
layout:'column',
border:false,
items:[{
layout:'form',
border:false,
columnWidth:.5,
items:[newTimeLine,
addTimeLine,
creatReported,
teleReport,
dutyReported,
dutyInfoReported]
},{
layout:'form',
border:false,
colunmWidth:.5,
labelWidth:200,
items:[ finishLabel,
finishLabel,
finishLabel,
finishLabel,
finishLabel,
finishLabel
]
}]
}]
});