Skip to content

Commit

Permalink
container forced to specified size vice trying to scale itself
Browse files Browse the repository at this point in the history
  • Loading branch information
dound committed Dec 7, 2008
1 parent adedecf commit 07477d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jtoolbar.js
Expand Up @@ -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 */
Expand Down

0 comments on commit 07477d5

Please sign in to comment.