Here's a terse/functional code sample which features a border layout panel as the first/only tab of a TabPanel.
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="ext/resources/css/xtheme-blue.css" id="theme" />
<script type="text/javascript" src="ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="ext/ext-all.js"></script>
<script type="text/javascript">
Ext.onReady(function() {
Ext.BLANK_IMAGE_URL = 'ext/resources/images/default/s.gif';
Ext.QuickTips.init();
var t = new Ext.TabPanel({
renderTo:'contentDiv',
activeTab: 0,
height: 600,
width: 800,
items:[{
xtype: 'panel',
layout: 'border',
title: 'Tab 1',
items: [{
xtype: 'panel',
region: 'north',
frame: true,
height: 50,
html: 'This is the North Region.'
},{
xtype: 'panel',
region: 'center',
layout: 'fit',
html: 'This is the Center Region.'
}]
}]
});
});
</script>
</head>
<body>
<div id="contentDiv">
</div>
</body>
</html>