裏面我FormPanel中,我有「列」的佈局一個字段。 我嘗試了好幾種不同的配置屬性,但我不能獲取標籤的文本框我的工作。它只是呈現沒有標籤的文本框。 (顯然,如果我做的佈局類型「形式」,我覺得沒有問題)。複選框的文本顯示正常,但文本框標籤不顯示。有人能指出什麼是錯的嗎? 謝謝!Ext JS的 - 無法文本字段標籤在列布局顯示
xtype:'fieldset',
title:'Transaction Status',
layout: 'column',
style:'margin:5px;'
,height:125//or:'-20', allowBlank:false}
,defaultType: 'checkbox'
,defaults: {
columnWidth: '.32',
border: false
},
items: [{
id:'check1-field',
name: 'check1',
boxLabel: 'DOT'
},{
id:'check2-field',
boxLabel: 'Results Matched',
name: 'check2'
},{
xtype:'textfield',
name: 'testname',
fieldLabel:'This doesnt show'
}
]