Ext.layout.container.Column布局
<script type="text/javascript">
Ext.onReady(function(){
Ext.create('Ext.panel.Panel',{
layout:'column',
title:'Ext.layout.conatiner.Column布局示例',
frame:false,
height:150,
width:300,
renderTo:Ext.getBody(),
defaults:{
frame:true,
height:70,
width:100,
bodyStyle:'background-color:#FFFFFF;padding:15px'
},
items:[{
title:'子面板一',
width:100
},{
title:'子面板二',
width:100
}]
});
});
</script>