From 5664b41c30b12be4260fa93330c4abf57499fd5f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 18 May 2022 18:22:16 +0200 Subject: [PATCH] ui: acl view: make path column flex, but enforce minWidth with namespaces the paths can get pretty complex, so make the path column take some flex space too, but not too much to avoid making it look odd for the short paths we have otherwise Signed-off-by: Thomas Lamprecht --- www/config/ACLView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/config/ACLView.js b/www/config/ACLView.js index 071a1d3d..271620b1 100644 --- a/www/config/ACLView.js +++ b/www/config/ACLView.js @@ -174,7 +174,8 @@ Ext.define('PBS.config.ACLView', { columns: [ { header: gettext('Path'), - width: 250, + minWidth: 250, + flex: 4, sortable: true, renderer: Ext.String.htmlEncode, dataIndex: 'path', @@ -194,7 +195,7 @@ Ext.define('PBS.config.ACLView', { }, { header: gettext('Propagate'), - flex: 1, // last element flex looks better + flex: 9, // last element flex looks better sortable: true, renderer: Proxmox.Utils.format_boolean, dataIndex: 'propagate',