diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 206cdea24..cb3d519d4 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -520,7 +520,7 @@ module Redmine end end g_width = PDF.right_pane_width - zoom = (g_width) / (self.date_to - self.date_from + 1) + zoom = g_width / (self.date_to - self.date_from + 1) g_height = 120 t_height = g_height + headers_height y_start = pdf.GetY