column widths on notify
authorAlan Knowles <alan@roojs.com>
Mon, 28 Sep 2020 04:32:42 +0000 (12:32 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 28 Sep 2020 04:32:42 +0000 (12:32 +0800)
Pman.Tab.AdminNotify.bjs
Pman.Tab.AdminNotify.js

index 919bd2b..6c22e97 100644 (file)
            "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('<span qtip=\"{0}\">{1}</span>', v, vv ); \n}",
            "$ xns" : "Roo.grid",
            "* prop" : "colModel[]",
            "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[]",
            "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[]",
           },
           {
            "xtype" : "ColumnModel",
-           "width" : 200,
+           "width" : 50,
            "header" : "Msgid",
            "$ renderer" : "function(v) { return String.format('{0}', v); }",
            "$ xns" : "Roo.grid",
index 3e397ec..fcf5471 100644 (file)
@@ -602,7 +602,7 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
              return String.format('<span qtip="{0}">{1}</span>', 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'
         },