]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: FW/Alias: make grid flex
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Jan 2020 11:40:15 +0000 (12:40 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Jan 2020 11:40:15 +0000 (12:40 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/grid/FirewallAliases.js

index 5f9a94cae5a61f7ea0e8f9b3f93da332d19ff17e..d6518a18fc217b3332a402b9681c42202a849c1a 100644 (file)
@@ -166,9 +166,22 @@ Ext.define('PVE.FirewallAliases', {
            tbar: [ me.addBtn, me.removeBtn, me.editBtn ],
            selModel: sm,
            columns: [
-               { header: gettext('Name'), dataIndex: 'name', width: 100 },
-               { header:  gettext('IP/CIDR'), dataIndex: 'cidr', width: 100 },
-               { header: gettext('Comment'), dataIndex: 'comment', renderer: Ext.String.htmlEncode, flex: 1 }
+               {
+                   header: gettext('Name'),
+                   dataIndex: 'name',
+                   flex: 1,
+               },
+               {
+                   header:  gettext('IP/CIDR'),
+                   dataIndex: 'cidr',
+                   flex: 1,
+               },
+               {
+                   header: gettext('Comment'),
+                   dataIndex: 'comment',
+                   renderer: Ext.String.htmlEncode,
+                   flex: 3,
+               }
            ],
            listeners: {
                itemdblclick: run_editor