From f9d5480bb347ddfaa6775a7fdb93de27d62fbec9 Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 28 Oct 2022 17:47:54 +0200 Subject: [PATCH] Update SimpleXLSXGen.php Fix: Column width not working on Mac --- src/SimpleXLSXGen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SimpleXLSXGen.php b/src/SimpleXLSXGen.php index a70beb6..8db5529 100644 --- a/src/SimpleXLSXGen.php +++ b/src/SimpleXLSXGen.php @@ -688,7 +688,7 @@ class SimpleXLSXGen { } foreach ( $COL as $k => $max ) { $w = isset($this->sheets[$idx]['colwidth'][$k]) ? $this->sheets[$idx]['colwidth'][$k] : min( $max+1, 60); - $COLS[] = ''; + $COLS[] = ''; } $COLS[] = ''; $REF = 'A1:'.$this->num2name(count($COL)) . $CUR_ROW;