org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/Scrollbar.js
changeset 102 30e0796f3ebb
parent 73 c56c874eef47
child 210 0f7abfd6ae62
equal deleted inserted replaced
101:15f3b303bbb1 102:30e0796f3ebb
   168     // position and size thumb element (add 1 to the middle section height for rounding errors)
   168     // position and size thumb element (add 1 to the middle section height for rounding errors)
   169     this.thumbTopElement.style.top = Math.round(thumbTop) + "px";
   169     this.thumbTopElement.style.top = Math.round(thumbTop) + "px";
   170     this.thumbMiddleElement.style.top = Math.round(thumbTop + thumbTopHeight) + "px";
   170     this.thumbMiddleElement.style.top = Math.round(thumbTop + thumbTopHeight) + "px";
   171     this.thumbMiddleElement.style.height = Math.round(thumbHeight - thumbTopHeight - thumbBottomHeight + 1) + "px";
   171     this.thumbMiddleElement.style.height = Math.round(thumbHeight - thumbTopHeight - thumbBottomHeight + 1) + "px";
   172     this.thumbBottomElement.style.top = Math.round(thumbBottom - thumbBottomHeight) + "px";
   172     this.thumbBottomElement.style.top = Math.round(thumbBottom - thumbBottomHeight) + "px";
   173 }
   173 };