From 78fc11bf96105f3dadbc66f2819b0c77012a74fc Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 11 Apr 2016 14:27:28 +0800 Subject: [PATCH] Pman.Tab.AdminNotify.bjs Pman.Tab.AdminNotify.js --- Pman.Tab.AdminNotify.bjs | 10 ++++++++++ Pman.Tab.AdminNotify.js | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/Pman.Tab.AdminNotify.bjs b/Pman.Tab.AdminNotify.bjs index 1e4bd8b..fd76acd 100644 --- a/Pman.Tab.AdminNotify.bjs +++ b/Pman.Tab.AdminNotify.bjs @@ -37,6 +37,16 @@ "$ xns" : "Roo", "* prop" : "layout", "items" : [ + { + "xtype" : "LayoutRegion", + "$ xns" : "Roo", + "* prop" : "center" + }, + { + "xtype" : "LayoutRegion", + "$ xns" : "Roo", + "* prop" : "center" + }, { "listeners" : { "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n \n}" diff --git a/Pman.Tab.AdminNotify.js b/Pman.Tab.AdminNotify.js index d2c005d..04d18c9 100644 --- a/Pman.Tab.AdminNotify.js +++ b/Pman.Tab.AdminNotify.js @@ -48,6 +48,11 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ xns : Roo, '|xns' : 'Roo', xtype : 'BorderLayout', + center : { + xns : Roo, + '|xns' : 'Roo', + xtype : 'LayoutRegion' + }, items : [ { background : true, -- 2.39.2