From f2824517beb4c7c346c92a9672be359b26f5ec68 Mon Sep 17 00:00:00 2001 From: mayue Date: Thu, 11 Aug 2022 09:25:13 +0800 Subject: [PATCH] * Add column min width. --- module/programplan/view/gantt.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/programplan/view/gantt.html.php b/module/programplan/view/gantt.html.php index 785c2cd2d2..b096d6d64a 100644 --- a/module/programplan/view/gantt.html.php +++ b/module/programplan/view/gantt.html.php @@ -504,7 +504,7 @@ $(function() gantt.config.duration_unit = "day"; gantt.config.columns = []; - gantt.config.columns.push({name: 'text', width: '*', tree: true, resize: true, min_width:100, width:200}); + gantt.config.columns.push({name: 'text', width: '*', tree: true, resize: true, min_width:120, width:200}); if(showFields.indexOf('PM') != -1) gantt.config.columns.push({name: 'owner_id', align: 'center', resize: true, width: 80, template: function(task){return getByIdForGantt(gantt.serverList('userList'), task.owner_id)}}) if(showFields.indexOf('status') != -1) gantt.config.columns.push({name: 'status', align: 'center', resize: true, width: 80}); gantt.config.columns.push({name: 'start_date', align: 'center', resize: true, width: 80});