ui: pool: add members: make virtual guest window bigger and resizeable

It was rather small, i.e. always to narrow for seeing the column
values for somewhat normal name lengths and for more than a handful of
guests the height was rather short too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-09-06 15:46:16 +02:00
parent 1b37bf06a0
commit ce79e33a14

View file

@ -1,8 +1,10 @@
Ext.define('PVE.pool.AddVM', {
extend: 'Proxmox.window.Edit',
width: 640,
height: 480,
width: 800,
height: 600,
resizable: true,
isAdd: true,
isCreate: true,
@ -35,20 +37,13 @@ Ext.define('PVE.pool.AddVM', {
direction: 'ASC',
},
],
filters: [
function (item) {
return (
(item.data.type === 'lxc' || item.data.type === 'qemu') &&
item.data.pool !== me.pool
);
},
],
filters: [(item) => basicFilter(item.data)],
});
var vmGrid = Ext.create('widget.grid', {
store: vmStore,
border: true,
height: 360,
height: 480,
scrollable: true,
selModel: {
selType: 'checkboxmodel',