mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 01:29:03 +00:00
ui: FW/Alias: make grid flex
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
09b3292ec6
commit
c10fabfe26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user