From: Edward Date: Mon, 9 Feb 2015 09:33:34 +0000 (+0800) Subject: SimpleExcel.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=a87bd911ef832e4b0c74f5d1920cd68bf14e4981 SimpleExcel.php --- diff --git a/SimpleExcel.php b/SimpleExcel.php index 7f109305..a4bbebe1 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -299,7 +299,7 @@ class Pman_Core_SimpleExcel extends Pman $worksheet->setRow($start_row +$r, $cfg['row_height']); } - $height = 1; + $height = 10; 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); - $height = MAX(count($vv), $height);; + $height = MAX(count($vv) * 10, $height);; $worksheet->setRow($start_row+$r, $height); // } }