Modify

Opened 4 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

     
    17531753
    17541754     // Sane defaults for most screens these days. In the worst
    17551755     // case, it will scroll
     1756/*
    17561757     var width = "1000px";
    17571758         if (typeof window.innerWidth != 'undefined')
    17581759         {
     
    17641765     }
    17651766
    17661767     vDiv.style.width = width;
    1767 
     1768*/
    17681769        // Scroll to configured date, if any.
    17691770        var vScrollToEl = document.getElementById(pGanttVar+'-scrollTo');
    17701771        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)

Change History (0)

Modify Ticket

Action
as new The owner will remain Chris Nelson.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.