summaryrefslogtreecommitdiff
path: root/src/layout/background.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/background.rs')
-rw-r--r--src/layout/background.rs4
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 {