projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3afd663
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 09:32:29 +0000
(17:32 +0800)
committer
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 09:32:29 +0000
(17:32 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
549730d
..
7ba756c
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-299,7
+299,7
@@
class Pman_Core_SimpleExcel extends Pman
$worksheet->setRow($start_row +$r, $cfg['row_height']);
}
$worksheet->setRow($start_row +$r, $cfg['row_height']);
}
- $height =
20
;
+ $height =
1
;
foreach($cfg['cols'] as $c => $col_cfg) {
foreach($cfg['cols'] as $c => $col_cfg) {
@@
-349,7
+349,7
@@
class Pman_Core_SimpleExcel extends Pman
// if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
// if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
- $height = MAX(count($vv)
* 20
, $height);;
+ $height = MAX(count($vv), $height);;
$worksheet->setRow($start_row+$r, null);
// }
}
$worksheet->setRow($start_row+$r, null);
// }
}