From: Alan Knowles Date: Mon, 28 Sep 2020 04:32:42 +0000 (+0800) Subject: column widths on notify X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=9e21aa7cd56d1d07f614a2c83a43a429c159b384 column widths on notify --- diff --git a/Pman.Tab.AdminNotify.bjs b/Pman.Tab.AdminNotify.bjs index 919bd2b..6c22e97 100644 --- a/Pman.Tab.AdminNotify.bjs +++ b/Pman.Tab.AdminNotify.bjs @@ -325,7 +325,7 @@ "xtype" : "ColumnModel", "sortable" : true, "header" : "Method", - "width" : 100, + "width" : 70, "$ renderer" : "function(v,x,r) \n{ \n var vv = (typeof(r.data.evtype_align) != 'undefined' && r.data.evtype_align) ? r.data.evtype_align : v;\n return String.format('{1}', v, vv ); \n}", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -335,7 +335,7 @@ "xtype" : "ColumnModel", "sortable" : true, "header" : "Act when", - "width" : 150, + "width" : 130, "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y H:i:s') : ''); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -345,7 +345,7 @@ "xtype" : "ColumnModel", "sortable" : true, "header" : "Sent", - "width" : 150, + "width" : 130, "$ renderer" : "function(v,x,r) {\n if (r.data.event_id *1 == 0) {\n return '';\n }\n return String.format('{0}', v ? v.format('d/M/Y H:i:s') : '');\n }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -380,7 +380,7 @@ }, { "xtype" : "ColumnModel", - "width" : 200, + "width" : 50, "header" : "Msgid", "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", diff --git a/Pman.Tab.AdminNotify.js b/Pman.Tab.AdminNotify.js index 3e397ec..fcf5471 100644 --- a/Pman.Tab.AdminNotify.js +++ b/Pman.Tab.AdminNotify.js @@ -602,7 +602,7 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ return String.format('{1}', v, vv ); }, sortable : true, - width : 100, + width : 70, xns : Roo.grid, '|xns' : 'Roo.grid' }, @@ -612,7 +612,7 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ header : _this._strings['0f6d01b16d57911731aa44b94dbfefcc'] /* Act when */, renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y H:i:s') : ''); }, sortable : true, - width : 150, + width : 130, xns : Roo.grid, '|xns' : 'Roo.grid' }, @@ -627,7 +627,7 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ return String.format('{0}', v ? v.format('d/M/Y H:i:s') : ''); }, sortable : true, - width : 150, + width : 130, xns : Roo.grid, '|xns' : 'Roo.grid' }, @@ -677,7 +677,7 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ dataIndex : 'msgid', header : _this._strings['12832b4def6eb0b6105b3d11e16066ea'] /* Msgid */, renderer : function(v) { return String.format('{0}', v); }, - width : 200, + width : 50, xns : Roo.grid, '|xns' : 'Roo.grid' },