Skip to content

Commit 149e0f4

Browse files
committed
Support table margins and paddings.
From an issue mentioned in #491 but which I believe has been there since before the rewritten table support, as the padding/margin was never applied.
1 parent f3da867 commit 149e0f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/layout_element.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class TableLayoutElement extends LayoutElement {
3232
@override
3333
Widget toWidget(RenderContext context) {
3434
return Container(
35+
margin: style.margin,
36+
padding: style.padding,
3537
decoration: BoxDecoration(
3638
color: style.backgroundColor,
3739
border: style.border,

0 commit comments

Comments
 (0)