{
text: '# of Placement Groups',
flex: 1,
- minWidth: 150,
+ minWidth: 100,
align: 'right',
dataIndex: 'pg_num',
},
{
text: gettext('Optimal # of PGs'),
flex: 1,
- minWidth: 140,
+ minWidth: 100,
align: 'right',
dataIndex: 'pg_num_final',
renderer: function(value, metaData) {
{
text: gettext('Min. # of PGs'),
flex: 1,
- minWidth: 140,
+ minWidth: 100,
align: 'right',
dataIndex: 'pg_num_min',
hidden: true,
},
{
- text: gettext('Target Size Ratio'),
+ text: gettext('Target Ratio'),
flex: 1,
- minWidth: 140,
+ minWidth: 100,
align: 'right',
dataIndex: 'target_size_ratio',
renderer: Ext.util.Format.numberRenderer('0.0000'),
{
text: gettext('Target Size'),
flex: 1,
- minWidth: 140,
+ minWidth: 100,
align: 'right',
dataIndex: 'target_size',
hidden: true,
{
text: gettext('Autoscale Mode'),
flex: 1,
- minWidth: 140,
+ minWidth: 100,
align: 'right',
dataIndex: 'pg_autoscale_mode',
},
flex: 1,
align: 'right',
minWidth: 150,
- renderer: function(v, meta, rec) {
- return v + ' (' + rec.data.crush_rule + ')';
- },
+ renderer: (v, meta, rec) => `${v} (${rec.data.crush_rule})`,
dataIndex: 'crush_rule_name',
},
{
text: gettext('Used') + ' (%)',
flex: 1,
- minWidth: 180,
+ minWidth: 150,
sortable: true,
align: 'right',
dataIndex: 'bytes_used',