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: {
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,
},
],