2个回答
展开全部
var uppanel = new Ext.Panel({
margins:'5 0 5 5',
split:true,
width: 210,
region: 'north'
});
var leftPanel = new Ext.Panel({
region: 'west'
});
var rightPanel= new Ext.Panel({
region: 'center'
});
Ext.onReady(function(){
var viewport = new Ext.Viewport({
layout: 'border',
items:[
uppanel,
new Ext.Panel({
region: 'south',
layout: 'border',
items: [leftPanel,rightPanel]
})]
});
});
总体上下布局,下面左边west,右边center
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询