ItEr16S09RFComportamentoGraficoPlanificadorItEr15S12: Fixed blinking effect of taskdetails component when y-scrolling

This commit is contained in:
Lorenzo Tilve 2009-07-08 17:34:55 +02:00 committed by Javier Moran Rua
parent a994173bb8
commit 6f911ae510
2 changed files with 8 additions and 7 deletions

View file

@ -118,13 +118,15 @@ function adjustScrollableDimensions() {
scroll_container.style["width"] = timetracker.style["width"];
timetracker.style["height"] =
(window.innerHeight - TIMETRACKER_OFFSET_TOP +5 ) +"px"; // Extra padding
(window.innerHeight - TIMETRACKER_OFFSET_TOP + 5 ) +"px"; // Extra padding
scroll_container.style["height"] =
(window.innerHeight - TIMETRACKER_OFFSET_TOP - 90 ) +"px";
(window.innerHeight - TIMETRACKER_OFFSET_TOP -
( FOOTER_HEIGHT + SCROLLBAR_WIDTH*2 )) +"px";
// Watermark heigh also needs recalculations due to the recreation
document.getElementById('watermark').style["height"]
= (window.innerHeight - TIMETRACKER_OFFSET_TOP - 60 ) +"px";
= (window.innerHeight - TIMETRACKER_OFFSET_TOP -
( FOOTER_HEIGHT + SCROLLBAR_WIDTH )) +"px";
// Inner divs need recalculation to adjust to new scroll displacement lenght
document.getElementById('ganttpanel_inner_scroller_y').style["height"]

View file

@ -27,11 +27,10 @@ zkTasklist.SCROLLBAR_WIDTH = 15
#listdetails_container {
float:left;
overflow:hidden;
height:300px;
position:relative;
top:20px;
overflow: hidden;
top:25px;
overflow-y: hidden;
border-bottom: 1px solid #86A4BE;
border-right: 1px solid #86A4BE;
}
@ -291,7 +290,7 @@ tr.z-vbox-sep {
}
#ganttpanel_scroller_y {
top: 200px; /* Calculate initial settings */
top: 195px; /* Calculate initial settings */
left: 920px;
width:15px;
height:330px;