Php 腾出空位

Php 腾出空位,php,forms,extjs,Php,Forms,Extjs,我有这个菜单: items:[ { xtype: 'form', id: 'searchPanel', title: 'Search', collapsible: true, bodyPadding: 10, height: 210, buttonAlign: 'left', defaults: { width: 400, labelWidth: 120, allowBla

我有这个菜单:

items:[      
{
    xtype: 'form',
    id: 'searchPanel',
    title: 'Search',
    collapsible: true,
    bodyPadding: 10,
    height: 210,
    buttonAlign: 'left',
    defaults: {
        width: 400,
        labelWidth: 120,
        allowBlank: true,
        enableKeyEvents: true        
    },
    layout: {
        type: 'table',
        columns: 2
    },
    items: [
        {
            xtype: 'textfield',
            name: 'txtFltrSiteName',
            fieldLabel: 'Site name or alias',
            id: 'txtFltrSiteName'
        },

        {
            xtype: 'textfield',
            name: 'txtDiskCost',
            fieldLabel: 'Disk cost',
            id: 'txtDiskCost',
            style: 'margin-left: 100px;'
        },

        {
            xtype: 'textfield',
            name: 'txtFltrProjectName',
            fieldLabel: 'Project name',
            id: 'txtFltrProjectName'
        },

       // many other fields  
而文本框和文本字段的宽度不同,所以看起来很难看
所以问题是:
如何在此表单中清空

例如,我想要6-2项:

---------- | 1 | 1 | | 2 | 2 | | 3 | | | 4 | | |..etc...| ---------- ---------- | 1 | 1 | | 2 | 2 | | 3 | | | 4 | | |……等等| ---------- 只需进行隐藏输入。 像这样:

{
    xtype: 'hidden',
    name: 'hidden1',
    id: 'hidden1'
},
这将生成
列,但它将是空的,因为它将
隐藏
在其中输入。

这里有一个更好的选项:

{
  xtype : 'label',
  text  : '',
  labelSeparator: ''
}

如果是我,我可能会为此使用列布局,并将列宽度定义为.5,以便它们均匀分布。