From: Alan Knowles Date: Mon, 11 Apr 2016 06:27:28 +0000 (+0800) Subject: Pman.Tab.AdminNotify.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=78fc11bf96105f3dadbc66f2819b0c77012a74fc Pman.Tab.AdminNotify.bjs Pman.Tab.AdminNotify.js --- 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,