2015-03-03 39 views
0

我想在下一行中的組合框fieldLabel。labelSeparator在extjs中,需要其他行中的組合框

雖然我試過labelSeparator:'\ n'。但它沒有工作。 請幫助

xtype:'combo', 
fieldLabel:'XYZ', 
store:['A', 'B', 'C'], 
autoSelect:true, 
labelSeparator: '\n', 
forceSelection:true 
+0

查看有關'labelAlign'的文檔 – 2015-03-03 11:47:53

回答

1

正如埃文在他的評論中指出,使用labelAlign安排FieldLabel聯合。

xtype:'combo', 
fieldLabel:'XYZ', 
store:['A', 'B', 'C'], 
autoSelect:true, 
labelAlign:'top', 
forceSelection:true