diff options
author | 2023-09-03 08:28:03 +0200 | |
---|---|---|
committer | 2023-09-03 08:33:02 +0200 | |
commit | 20bf01a551b967f6f8be4c38ef01d14a690d8835 (patch) | |
tree | e4304d0f9cbb2c27ba9036d94559ac670133b0ac /examples/styling | |
parent | 3a44ad3c737cf6cff6f04e03a7778d75fcc0c719 (diff) | |
download | iced-20bf01a551b967f6f8be4c38ef01d14a690d8835.tar.gz iced-20bf01a551b967f6f8be4c38ef01d14a690d8835.tar.bz2 iced-20bf01a551b967f6f8be4c38ef01d14a690d8835.zip |
Use `Length::Fill` instead of fixed length in `styling` example
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 b457df25..51538ec2 100644 --- a/examples/styling/src/main.rs +++ b/examples/styling/src/main.rs @@ -108,7 +108,7 @@ impl Sandbox for Styling { column!["Scroll me!", vertical_space(800), "You did it!"] .width(Length::Fill), ) - .width(300) + .width(Length::Fill) .height(100); let checkbox = checkbox( |