[pve-devel] [PATCH manager v2 1/4] FileSelector: adapt combogrid total and column width
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Jul 24 14:49:34 CEST 2017
By default the "Size" column ellipsed a lot entries, which is just
annoying. Adapt it so that all sizes can be viewed comfortably.
Further increase the total width of this combogrid, a lot less could
be seen there since theme change from the 4.X era.
Use an new empirical found out good working value.
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
Changes v1 -> v2:
* none
www/manager6/form/FileSelector.js | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/www/manager6/form/FileSelector.js b/www/manager6/form/FileSelector.js
index a0fc4bb2..6dcc24f0 100644
--- a/www/manager6/form/FileSelector.js
+++ b/www/manager6/form/FileSelector.js
@@ -47,6 +47,7 @@ Ext.define('PVE.form.FileSelector', {
valueField: 'volid',
displayField: 'text',
listConfig: {
+ width: 600,
columns: [
{
header: gettext('Name'),
@@ -56,14 +57,14 @@ Ext.define('PVE.form.FileSelector', {
},
{
header: gettext('Format'),
- width: 60,
+ width: 60,
dataIndex: 'format'
},
{
header: gettext('Size'),
- width: 60,
- dataIndex: 'size',
- renderer: PVE.Utils.format_size
+ width: 100,
+ dataIndex: 'size',
+ renderer: PVE.Utils.format_size
}
]
}
--
2.11.0
More information about the pve-devel
mailing list