2015-03-03 48 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