How to edit the 'View Gantt' page in a Project?

Has anyone attempted to edit the 'View Gantt" page (index.php?module=Project&action=view_GanttChart)?

Specifically, the Task Name column is too narrow and I’d like to make it wider. My browser renders the column thus:

Task Name

Does anyone know which file I edit to change the 85px to, say, 200px? (I’m assuming this parameter is hard-coded, and my edits won’t be upgrade proof, but that’s OK)

Many thanks in advance.

Aha, I found it… “project_table.php”

Further, the width of the cell is set in the Project style.css

My new class now looks like this (not update-proof)

.Task_name {
width:160px;
float: left;
padding-left:5px;
overflow:hidden;
text-align:left;
}

1 Like