Amit Anand
Amit Anand

Reputation: 21

Box Spout cell height width increase/decrease?

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);

Upvotes: 2

Views: 4910

Answers (1)

ArSeN
ArSeN

Reputation: 5258

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

Upvotes: 2

Related Questions