50,528
社区成员
发帖
与我相关
我的任务
分享
Ext.create('Ext.window.Window', {
title: {
xtype:'title',
height: 50,
text:'asdf'
},
height: 200,
width: 400,
layout: 'fit',
items: { // Let's put an empty grid in just to illustrate fit layout
xtype: 'grid',
border: false,
// One header just for show. There's no data
columns: [{ header: 'World' }],
store: Ext.create('Ext.data.ArrayStore', {}) // A dummy empty data store
}
}).show();
希望可以帮到你