[pve-devel] [PATCH manager 2/3] ui: dc/RoleView: add variableRowHeight

Dominik Csapak d.csapak at proxmox.com
Thu May 20 16:59:15 CEST 2021


otherwise the grid is confused about the row height (since it is
variable here) and renders the scrollbars weirdly

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/RoleView.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/dc/RoleView.js b/www/manager6/dc/RoleView.js
index eccb35d0..e4247e23 100644
--- a/www/manager6/dc/RoleView.js
+++ b/www/manager6/dc/RoleView.js
@@ -71,6 +71,7 @@ Ext.define('PVE.dc.RoleView', {
 			metaData.style = 'white-space:normal;'; // allow word wrap
 			return value.replace(/,/g, ' ');
 		    },
+		    variableRowHeight: true,
 		    dataIndex: 'privs',
 		    flex: 1,
 		},
-- 
2.20.1





More information about the pve-devel mailing list