Pman.Gnumeric.js
authorAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2019 07:51:38 +0000 (15:51 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2019 07:51:38 +0000 (15:51 +0800)
Pman.Gnumeric.js

index 92cb876..a7d77f1 100644 (file)
@@ -1164,8 +1164,12 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         var ww = 0.01; // offset a bit...
         var hh = 0.01; //
         
+        var rowHeight = typeof(this.rowInfoDom[row]) == 'undefined' ? 100 : 
+               this.rowInfoDom[row].getAttribute('Unit')*1;
+       
+       
         var ww2 = 1 - ((colwidth - width) / this.colInfo[endcol]);
-        var hh2 = 0.99;
+        var hh2 = 1 - ((rowHeight - height) /    rowHeight);
         
         var offset_str = ww + ' '  + hh + ' ' + ww2 + ' '+hh2;