make date column resizable

this makes the date column in the snapshottree a little bit bigger and
resizable

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-12-06 16:26:42 +01:00 committed by Dietmar Maurer
parent e62526ea4c
commit 5f80c67ecc

View File

@ -275,8 +275,7 @@ Ext.define('PVE.qemu.SnapshotTree', {
{ {
text: gettext('Date') + "/" + gettext("Status"), text: gettext('Date') + "/" + gettext("Status"),
dataIndex: 'snaptime', dataIndex: 'snaptime',
resizable: false, width: 150,
width: 120,
renderer: function(value, metaData, record) { renderer: function(value, metaData, record) {
if (record.data.snapstate) { if (record.data.snapstate) {
return record.data.snapstate; return record.data.snapstate;