Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitchenkoSergey authored Jan 26, 2018
1 parent d624b68 commit 377d180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ See: examples/properties.php <br />
$idg->beginBlock();
$idg->text('Text in block.')
->setMargin(10, 20, 20, 20);
$idg->endElement();
$idg->endBlock();
$idg->beginBlock()->setStaticHeight(function(\Idg\Elements\Element $element) {
return $element->getPrevSibling()->getHeight();
});
Expand Down

0 comments on commit 377d180

Please sign in to comment.