I have a bunch of windows and I am getting the current dimensions using win.getDimension(); This is successful and all is good there. Now when I try to resize it using setDimension it’s not working on all my windows. I have posted my code and the image below. As you can see in the image the small windows don’t want to resize right but the big ones do. The speedometers don’t resize at all and that is okay.
dhxWins.attachEvent("onResizeFinish", function(win)
{
var dimension = win.getDimension();
var newW = Math.round(dimension[0] / 50) * 50;
var newH = Math.round(dimension[1] / 50) * 50;
win.setDimension(newW, newH);
setWindowStatusCookie(win,1);
});