ui: tape: DriveSelector: make wider and fine-tune column flex

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-06-07 16:57:45 +02:00
parent 10e8026786
commit ddfa4d679a
1 changed files with 5 additions and 4 deletions

View File

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