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',
|
valueField: 'storage',
|
||||||
displayField: 'storage',
|
displayField: 'storage',
|
||||||
listConfig: {
|
listConfig: {
|
||||||
|
width: 450,
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
header: gettext('Name'),
|
header: gettext('Name'),
|
||||||
@ -15,18 +16,18 @@ Ext.define('PVE.form.StorageSelector', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: gettext('Type'),
|
header: gettext('Type'),
|
||||||
width: 60,
|
width: 75,
|
||||||
dataIndex: 'type'
|
dataIndex: 'type'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: gettext('Avail'),
|
header: gettext('Avail'),
|
||||||
width: 80,
|
width: 90,
|
||||||
dataIndex: 'avail',
|
dataIndex: 'avail',
|
||||||
renderer: Proxmox.Utils.format_size
|
renderer: Proxmox.Utils.format_size
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: gettext('Capacity'),
|
header: gettext('Capacity'),
|
||||||
width: 80,
|
width: 90,
|
||||||
dataIndex: 'total',
|
dataIndex: 'total',
|
||||||
renderer: Proxmox.Utils.format_size
|
renderer: Proxmox.Utils.format_size
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user