Use Length::Fill instead of fixed length in styling example

This commit is contained in:
Héctor Ramón 2023-09-03 08:28:03 +02:00 committed by Héctor Ramón Jiménez
parent 3a44ad3c73
commit 20bf01a551
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -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(