diff options
| author | Martin Haug <mhaug@live.de> | 2021-02-06 12:54:44 +0100 |
|---|---|---|
| committer | Martin Haug <mhaug@live.de> | 2021-02-06 12:54:44 +0100 |
| commit | a6cae89b47246a235ed7b1093747c6f3bcb64da4 (patch) | |
| tree | 67c23ec9df3b9f535faf5fbd443e85d9a7813d37 /src/layout/background.rs | |
| parent | 80e076814dde330fb2136172580f11e939bc6601 (diff) | |
Generalize child of NodeBackground 🍼
Diffstat (limited to 'src/layout/background.rs')
| -rw-r--r-- | src/layout/background.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/background.rs b/src/layout/background.rs index 94d5bf45..07248e02 100644 --- a/src/layout/background.rs +++ b/src/layout/background.rs @@ -5,8 +5,8 @@ use super::*; pub struct NodeBackground { /// The background fill. pub fill: Fill, - /// The child node whose sides to pad. - pub child: NodeFixed, + /// The child node to be filled in. + pub child: Node, } impl Layout for NodeBackground { |
