From: Thomas Lamprecht Date: Mon, 7 Nov 2022 08:42:42 +0000 (+0100) Subject: spam info grid: use 1:2 flex ratio between rule name and description X-Git-Url: https://git.proxmox.com/?p=pmg-gui.git;a=commitdiff_plain;h=63e00678b826efb174e063363e02aeeee1f20170 spam info grid: use 1:2 flex ratio between rule name and description The rule names ain't _that_ long and it looks a bit better if name and value are closer together Signed-off-by: Thomas Lamprecht --- diff --git a/js/SpamInfoGrid.js b/js/SpamInfoGrid.js index 6bcf2af..a806ea3 100644 --- a/js/SpamInfoGrid.js +++ b/js/SpamInfoGrid.js @@ -34,7 +34,7 @@ Ext.define('PMG.grid.SpamInfoGrid', { { text: gettext('Test Name'), dataIndex: 'name', - flex: 2, + flex: 1, summaryType: 'count', summaryRenderer: _v => gettext('Spamscore'), tdCls: 'txt-monospace', @@ -68,7 +68,7 @@ Ext.define('PMG.grid.SpamInfoGrid', { { text: gettext('Description'), dataIndex: 'desc', - flex: 3, + flex: 2, }, ], });