Set gantt overflow to auto to hide the scrollbars when not needed.

This commit is contained in:
Nathan Gray 2011-12-14 17:12:09 +00:00
parent bf9632b14a
commit ee98b63c0b

View File

@ -2860,7 +2860,7 @@ GanttChart.prototype.create = function(divId)
//Creation panel oData //Creation panel oData
this.oData = document.createElement("div"); this.oData = document.createElement("div");
this.oData.appendChild(this.createPanelTasks()); this.oData.appendChild(this.createPanelTasks());
this.oData.style.cssText = "position:relative;overflow:scroll;height:" + (this.contentHeight - 40) + "px;border-left:#f1f3f1 1px solid"; this.oData.style.cssText = "position:relative;overflow:auto;height:" + (this.contentHeight - 40) + "px;border-left:#f1f3f1 1px solid";
this.oData.firstChild.appendChild(this.createPanelErrors()); this.oData.firstChild.appendChild(this.createPanelErrors());