ui: tape: DriveSelector: make wider and fine-tune column flex
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
10e8026786
commit
ddfa4d679a
|
@ -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,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue