$worksheet->setRow($start_row +$r, $cfg['row_height']);
}
- $maxHeight = 20;
+ $height = 12;
foreach($cfg['cols'] as $c => $col_cfg) {
// if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
- $maxHeight = MAX(count($vv) * 20, $maxHeight);;
- $worksheet->setRow($start_row+$r, $maxHeight);
+
+ $height = MAX(count($vv) * 12, $height);;
+ $worksheet->setRow($start_row+$r, $height);
// }
}
$this->start_row++;