diff --git a/modules/ModuleBuilder/javascript/studio2.js b/modules/ModuleBuilder/javascript/studio2.js index 4767e10c01c..430d8357219 100755 --- a/modules/ModuleBuilder/javascript/studio2.js +++ b/modules/ModuleBuilder/javascript/studio2.js @@ -193,7 +193,7 @@ Studio2 = { if (!Dom.get('panels')) return; var body = document.getElementById('mbtabs'); - var targetHeight = body.clientHeight - (Dom.getY('panels') - Dom.getY(body)) - 32; + var targetHeight = body.clientHeight - (Dom.getY('toolbox') - Dom.getY(body)) - 32; if (Studio2.isIE) targetHeight -= 10; Dom.setStyle('panels', "height", targetHeight + "px"); Dom.setStyle('panels', "width" , ((Studio2.fieldwidth * 2) + 112) + "px");