big style updates

This commit is contained in:
Peter Cottle 2012-09-16 18:01:33 -07:00
parent b21f2e536f
commit 972ceeb453
3 changed files with 132 additions and 20 deletions

View file

@ -36,5 +36,13 @@ $(document).ready(function(){
});
$('#commandTextField').focus();
$(window).resize(windowResize);
windowResize();
setTimeout(windowResize, 50);
});
function windowResize() {
var el = $('#canvasWrapper')[0];
$('#treeCanvas').height(el.clientHeight - 10).width(el.clientWidth - 10);
}