Pman.Tab.PersonList.js
authorAlan Knowles <alan@roojs.com>
Wed, 28 Jan 2015 03:42:23 +0000 (11:42 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Jan 2015 03:42:23 +0000 (11:42 +0800)
Pman.Tab.PersonList.js

index 264b141..03baaaa 100644 (file)
@@ -152,8 +152,13 @@ Pman.Tab.PersonList.prototype = {
 
 
 
-        this.tab = parentLayout.add(region,  new Roo.NestedLayoutPanel(
-            this.layout, {title: this.title, background: true, controller : this}));
+        this.tab = parentLayout.add(region,
+            new Roo.NestedLayoutPanel(
+                this.layout, {
+                    title: this.title,
+                    background: true,
+                    controller : this
+        }));
 
         this.tab.on('activate', function() {
             _this.delayedCreate();
@@ -271,8 +276,9 @@ Pman.Tab.PersonList.prototype = {
                  
         });
         this.panel  = this.layout.add('center',  new Roo.GridPanel(this.grid , {
-                fitToframe: true,
-                fitContainer: true, 
+                //fitToframe: true,
+                //fitContainer: true,
+                background : false,
                 id: this.id, 
                 title: this.title || "Staff", 
                 controller : this