From 07477d5eeb6b3e839fdd2983f14fab6103797c70 Mon Sep 17 00:00:00 2001 From: David Underhill Date: Sun, 7 Dec 2008 00:10:23 -0800 Subject: [PATCH] container forced to specified size vice trying to scale itself --- jtoolbar.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jtoolbar.js b/jtoolbar.js index 37cedae..ab9b52e 100644 --- a/jtoolbar.js +++ b/jtoolbar.js @@ -579,6 +579,13 @@ var JTB = function() { else { w = lengthToPixels(this.float_width, true); h = lengthToPixels(this.float_height, false); + + /* force exact size */ + if(this.tb === null) { + this.width = w; + this.height = h; + return; + } } /* save the current values: we're just getting not setting sizes */