mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 05:22:56 +00:00
ui: diskselector: increase width and use flex for columns
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
970f96fdbb
commit
cc708c9cfe
@ -12,23 +12,24 @@ Ext.define('PVE.form.DiskSelector', {
|
||||
displayField: 'devpath',
|
||||
emptyText: gettext('No Disks unused'),
|
||||
listConfig: {
|
||||
width: 600,
|
||||
columns: [
|
||||
{
|
||||
header: gettext('Device'),
|
||||
width: 80,
|
||||
flex: 3,
|
||||
sortable: true,
|
||||
dataIndex: 'devpath'
|
||||
},
|
||||
{
|
||||
header: gettext('Size'),
|
||||
width: 60,
|
||||
flex: 2,
|
||||
sortable: false,
|
||||
renderer: Proxmox.Utils.format_size,
|
||||
dataIndex: 'size'
|
||||
},
|
||||
{
|
||||
header: gettext('Serial'),
|
||||
flex: 1,
|
||||
flex: 5,
|
||||
sortable: true,
|
||||
dataIndex: 'serial'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user