]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
ui: storage selector: adapt widths
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 17 Jun 2019 10:53:59 +0000 (12:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 17 Jun 2019 10:54:01 +0000 (12:54 +0200)
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>
www/manager6/form/StorageSelector.js

index cdd605279160a1f0c7ea025217a7b483dc523d6e..db6678e1e66f19a010c8989a8d4447888bb8f740 100644 (file)
@@ -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
            }