From 3b592b7641b48c0154962b5119a760f4ff1e1d33 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 28 Jan 2015 11:42:23 +0800 Subject: [PATCH] Pman.Tab.PersonList.js --- Pman.Tab.PersonList.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 264b1415..03baaaa2 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -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 -- 2.39.2