projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a97b0d8
)
Pman.Gnumeric.js
author
Alan Knowles
<alan@roojs.com>
Thu, 25 Jul 2019 07:51:38 +0000
(15:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 25 Jul 2019 07:51:38 +0000
(15:51 +0800)
Pman.Gnumeric.js
patch
|
blob
|
history
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
92cb876
..
a7d77f1
100644
(file)
--- a/
Pman.Gnumeric.js
+++ b/
Pman.Gnumeric.js
@@
-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;