From dc614ef7608190c89e1eab73113209bfff79be3b Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 6 Sep 2017 14:22:41 +0800 Subject: [PATCH] Pman.Gnumeric.js --- Pman.Gnumeric.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Pman.Gnumeric.js b/Pman.Gnumeric.js index bac8803f..585ea476 100644 --- a/Pman.Gnumeric.js +++ b/Pman.Gnumeric.js @@ -1253,16 +1253,7 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, { soi.setAttribute('ObjectBound',this.RCtoCell(startRow, startCol) + ':' + this.RCtoCell(endRow, endCol)); - var ww = 0.01; // offset a bit... - var hh = 0.01; // - - var ww2 = 1 - ((colwidth - width) / this.colInfo[endcol]); - var hh2 = 0.99; - - var offset_str = ww + ' ' + hh + ' ' + ww2 + ' '+hh2; - //console.log(offset_str ); - //alert(offset_str); - soi.setAttribute('ObjectOffset', offset_str); + soi.setAttribute('ObjectOffset', '0 0 0 0'); soi.setAttribute('ObjectAnchorType','16 16 16 16'); soi.setAttribute('Direction','17'); soi.setAttribute('crop-top','0.000000'); -- 2.39.2