diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-01-30 06:54:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-01-30 06:54:00 +0000 |
commit | 3c8df553ae3137d0623623d00dcbb77df1b60021 (patch) | |
tree | 2378d93642848c58549de8f31054f102ec8b8429 /app/views/gantts | |
parent | ab2933a4143cd13de17bdf075177d446274b7a33 (diff) | |
download | redmine-3c8df553ae3137d0623623d00dcbb77df1b60021.tar.gz redmine-3c8df553ae3137d0623623d00dcbb77df1b60021.zip |
Removed issue subjects wrapping in gantt (#7280).
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4780 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-rw-r--r-- | app/views/gantts/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 820366279..05c015bed 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -60,7 +60,7 @@ end # Width of the entire chart g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom -@gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width) +@gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width, :subject_width => subject_width) g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max t_height = g_height + headers_height |