How to widen this area so I can that task names won't be cut in Gantt chart view?

Added by Hung Nguyen Vu over 6 years ago

How to widen this area so I can that task names won't be cut in Gantt chart view?

Replies (2)

RE: How to widen this area so I can that task names won't be cut in Gantt chart view? - Added by Lucas Schatz over 6 years ago

its easy if you have access to the source
edit ./lib/redmine/helpers/gantt.rb, search for (for me, line 392):

      def to_image(format='PNG')
        date_to = (@date_from >> @months) - 1
        show_weeks = @zoom > 1
        show_days = @zoom > 2
        subject_width = 330
        header_height = 18

and update this line:

subject_width = 330

, I used
subject_width = 400

... and its fine, just restart the server.
;)

RE: How to widen this area so I can that task names won't be cut in Gantt chart view? - Added by Olivier Fize over 5 years ago

if RMagick is NOT avalaible on your installation :

Change subject_width = 330 by 500 in X:\redmine-2.4.1\app\views\gantts\show.html.erb

and just restart the server too !

(1-2/2)