testing west tabs
[roojs1] / Roo / bootstrap / layout / Center.js
1 /*
2  * Based on:
3  * Ext JS Library 1.1.1
4  * Copyright(c) 2006-2007, Ext JS, LLC.
5  *
6  * Originally Released Under LGPL - original licence link has changed is not relivant.
7  *
8  * Fork - LGPL
9  * <script type="text/javascript">
10  */
11 /*
12  * These classes are private internal classes
13  */
14 Roo.bootstrap.layout.Center = function(config){
15     config.region = "center";
16     Roo.bootstrap.layout.Region.call(this, config);
17     this.visible = true;
18     this.minWidth = config.minWidth || 20;
19     this.minHeight = config.minHeight || 20;
20 };
21
22 Roo.extend(Roo.bootstrap.layout.Center, Roo.bootstrap.layout.Region, {
23     hide : function(){
24         // center panel can't be hidden
25     },
26     
27     show : function(){
28         // center panel can't be hidden
29     },
30     
31     getMinWidth: function(){
32         return this.minWidth;
33     },
34     
35     getMinHeight: function(){
36         return this.minHeight;
37     }
38 });
39
40
41
42
43  
44