diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-08 16:39:37 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-09 12:34:19 +0100 |
| commit | e089b6ea40015e012302dc55ac5d6cb42ca4876e (patch) | |
| tree | dbb66237cb996bc880560dfd94ac9b682e1ac985 /src/library/columns.rs | |
| parent | 68503b9a07b00bce3f4d377bcfe945452de815ea (diff) | |
Set rules for everything
Diffstat (limited to 'src/library/columns.rs')
| -rw-r--r-- | src/library/columns.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/library/columns.rs b/src/library/columns.rs index 9e696b49..98989c5a 100644 --- a/src/library/columns.rs +++ b/src/library/columns.rs @@ -10,7 +10,7 @@ pub struct ColumnsNode { pub columns: NonZeroUsize, /// The child to be layouted into the columns. Most likely, this should be a /// flow or stack node. - pub child: PackedNode, + pub child: LayoutNode, } #[class] @@ -24,11 +24,6 @@ impl ColumnsNode { child: args.expect("body")?, })) } - - fn set(args: &mut Args, styles: &mut StyleMap) -> TypResult<()> { - styles.set_opt(Self::GUTTER, args.named("gutter")?); - Ok(()) - } } impl Layout for ColumnsNode { |
