]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: tape: DriveSelector: make wider and fine-tune column flex
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Jun 2021 14:57:45 +0000 (16:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Jun 2021 14:57:45 +0000 (16:57 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/tape/form/DriveSelector.js

index 49586ff9d0dcd47ed79ceb1565dc413415c882ed..fe97649548770bc61db3464d7b3ae778d47ccf29 100644 (file)
@@ -19,33 +19,34 @@ Ext.define('PBS.form.DriveSelector', {
     },
 
     listConfig: {
+       width: 450,
        columns: [
            {
                text: gettext('Name'),
                dataIndex: 'name',
                sortable: true,
-               flex: 1,
+               flex: 3,
                renderer: Ext.String.htmlEncode,
            },
            {
                text: gettext('Vendor'),
                dataIndex: 'vendor',
                sortable: true,
-               flex: 1,
+               flex: 2,
                renderer: Ext.String.htmlEncode,
            },
            {
                text: gettext('Model'),
                dataIndex: 'model',
                sortable: true,
-               flex: 1,
+               flex: 3,
                renderer: Ext.String.htmlEncode,
            },
            {
                text: gettext('Serial'),
                dataIndex: 'serial',
                sortable: true,
-               flex: 1,
+               flex: 3,
                renderer: Ext.String.htmlEncode,
            },
        ],