Modify ↓
Opened 12 years ago
#11084 new defect
PATCH: better resize the chart to be smaller than to overlap other page elements
Reported by: | falkb | Owned by: | Chris Nelson |
---|---|---|---|
Priority: | normal | Component: | TracJsGanttPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
Just a trivial one:
-
0.11/tracjsgantt/htdocs/jsgantt.js
1753 1753 1754 1754 // Sane defaults for most screens these days. In the worst 1755 1755 // case, it will scroll 1756 /* 1756 1757 var width = "1000px"; 1757 1758 if (typeof window.innerWidth != 'undefined') 1758 1759 { … … 1764 1765 } 1765 1766 1766 1767 vDiv.style.width = width; 1767 1768 */ 1768 1769 // Scroll to configured date, if any. 1769 1770 var vScrollToEl = document.getElementById(pGanttVar+'-scrollTo'); 1770 1771 if (vScrollToEl != null) {
Several months tested with IE and FF. If you want I could attach screenshots where you can see how the Gantt chart badly overlaps without this patch.
Attachments (0)
Note: See
TracTickets for help on using
tickets.