From e8049af23dbf4988ff24b75b90104295f61098a2 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 15 Feb 2024 02:08:22 +0100 Subject: Make `horizontal_space` and `vertical_space` fill by default --- examples/styling/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/styling/src') diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs index c26215b6..befdfc1b 100644 --- a/examples/styling/src/main.rs +++ b/examples/styling/src/main.rs @@ -76,7 +76,7 @@ impl Sandbox for Styling { let scrollable = scrollable(column![ "Scroll me!", - vertical_space(800), + vertical_space().height(800), "You did it!" ]) .width(Length::Fill) -- cgit