diff options
author | 2024-02-15 02:08:22 +0100 | |
---|---|---|
committer | 2024-02-15 02:08:22 +0100 | |
commit | e8049af23dbf4988ff24b75b90104295f61098a2 (patch) | |
tree | 21840d4799c0645d9572af6d44c58bd7be117a39 /examples/styling | |
parent | 9dd20ead085ff3b9b4bd441b5e4938cf8e813f35 (diff) | |
download | iced-e8049af23dbf4988ff24b75b90104295f61098a2.tar.gz iced-e8049af23dbf4988ff24b75b90104295f61098a2.tar.bz2 iced-e8049af23dbf4988ff24b75b90104295f61098a2.zip |
Make `horizontal_space` and `vertical_space` fill by default
Diffstat (limited to 'examples/styling')
-rw-r--r-- | examples/styling/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) |