xuanngo2001 / jsgantt

Automatically exported from code.google.com/p/jsgantt
0 stars 0 forks source link

Long text in LeftTable breaks RightTable #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
JSGantt Version:
Browser: 1.2 
OS: all

What steps will reproduce the problem?
1. add a long Resource text like projectmanager, switch font-face to arial 
11px
2. it's length in pixel is 88, which obviously breaks 
@41  var vLeftWidth = 15 + 220 + *70* + 70 + 70 + 70 + 70;

Solution: dinamically calculate each table columns' width for vLeftWidth

Original issue reported on code.google.com by kardosba...@gmail.com on 22 Apr 2010 at 10:13