ui: storage selector: adapt widths
with this one can see the avail/capacity columns in full even if we have "xyz.ab GiB", i.e., the max length this can be. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e9ffb11b28
commit
1d0945afb2
@ -6,6 +6,7 @@ Ext.define('PVE.form.StorageSelector', {
|
||||
valueField: 'storage',
|
||||
displayField: 'storage',
|
||||
listConfig: {
|
||||
width: 450,
|
||||
columns: [
|
||||
{
|
||||
header: gettext('Name'),
|
||||
@ -15,18 +16,18 @@ Ext.define('PVE.form.StorageSelector', {
|
||||
},
|
||||
{
|
||||
header: gettext('Type'),
|
||||
width: 60,
|
||||
width: 75,
|
||||
dataIndex: 'type'
|
||||
},
|
||||
{
|
||||
header: gettext('Avail'),
|
||||
width: 80,
|
||||
width: 90,
|
||||
dataIndex: 'avail',
|
||||
renderer: Proxmox.Utils.format_size
|
||||
},
|
||||
{
|
||||
header: gettext('Capacity'),
|
||||
width: 80,
|
||||
width: 90,
|
||||
dataIndex: 'total',
|
||||
renderer: Proxmox.Utils.format_size
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user