5 'Ext.layout.container.Border'
7 Ext.onReady(function(){
9 button = Ext.get('show-btn');
11 button.on('click', function(){
14 win = Ext.create('widget.window', {
15 title: 'Layout Window',
18 //animateTarget: this,
22 bodyStyle: 'padding: 5px;',
40 title: 'Closable Tab',
41 html: 'Hello world 3',
47 button.dom.disabled = true;
48 if (win.isVisible()) {
49 win.hide(this, function() {
50 button.dom.disabled = false;
53 win.show(this, function() {
54 button.dom.disabled = false;