From 69e41b6807fb58269f400cfc8ef9996476d1eaa5 Mon Sep 17 00:00:00 2001 From: David Underhill Date: Sun, 7 Dec 2008 00:33:28 -0800 Subject: [PATCH] parse SizeHelper fields with lengthToPixels rather than directly using them --- jtoolbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jtoolbar.js b/jtoolbar.js index 3da6d2d..fa14e2c 100644 --- a/jtoolbar.js +++ b/jtoolbar.js @@ -1846,8 +1846,8 @@ var JTB = function() { } var cw = container.offsetWidth; var ch = container.offsetHeight; - var tw = this.sz_tb.vert_orient_width; - var th = this.sz_tb.horiz_orient_height; + var tw = lengthToPixels(this.sz_tb.vert_orient_width); + var th = lengthToPixels(this.sz_tb.horiz_orient_height); /* compute distance to the docking locations */ var dl = distanceSqToRectangle(x, y, 0, 0, tw, ch);