求大神指教,EXTJS按钮布局的问题

2025-05-14 09:40:55
推荐回答(1个)
回答1:

你的嵌套太复杂,
var formPanel = new Ext.FormPanel({
layout:'column',
items: [{xtype:'textfield',fieldLabel:'名称/编号'},
{xtype:'button',text : '查询'},
{xtype:'button',text : '回退'}]

});
不知道这样能不能满足你的要求