]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: dc/RoleView: add variableRowHeight
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 20 May 2021 14:59:15 +0000 (16:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 May 2021 19:00:38 +0000 (21:00 +0200)
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@proxmox.com>
www/manager6/dc/RoleView.js

index eccb35d0316c83ae7323ddbf07aa86f3ca81c78c..e4247e238e34781d389bbc7880df8c2f3f297b03 100644 (file)
@@ -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,
                },