Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Pośpiech committed Apr 10, 2019
1 parent a4a08df commit 223649e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Layout/TableBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ protected function shrinkToFit(string $availableSpace, int $step)
$columnWidth = Math::mul($toPixelDisposition, $ratio);
foreach ($columns as $column) {
$columnDimensions = $column->getDimensions();
$columnDimensions->setWidth(Math::add($columnWidth, $column->getStyle()->getHorizotnalPaddingsWidth()));
$columnDimensions->setWidth(Math::add($columnWidth, $column->getStyle()->getHorizontalPaddingsWidth()));
$column->getFirstChild()->getDimensions()->setWidth($columnDimensions->getInnerWidth());
}
}
Expand Down

0 comments on commit 223649e

Please sign in to comment.