Box Spout cell height width increase/decrease?

4.4k Views Asked by At

Box Spout cell height width increase/decrease ??

basically want to cell width and height increase. read full Box spout documentation. but unable to find solution.

Doc Link : http://opensource.box.com/spout/docs/#styling-cells

Below my code:

$style2 = (new StyleBuilder())
                    ->setFontSize(12)
                    ->setFontColor(Color::BLACK)
                    ->setShouldWrapText()
                    ->setCellAlignment(CellAlignment::CENTER)
                    ->setBackgroundColor(Color::LIGHT_GREEN)
                    ->setBorder($border)
                     ->setFormat(200)
                    ->build();
$rowFromValues = WriterEntityFactory::createRowFromArray($value, $style);
 $writer->addRow($rowFromValues);
1

There are 1 best solutions below

1
ArSeN On

It looks like this is not possible with the current version. However, there is a pull request open on GitHub proposing that functionality.