summaryrefslogtreecommitdiffstats
path: root/examples/pick_list
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-15 02:08:22 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-15 02:08:22 +0100
commite8049af23dbf4988ff24b75b90104295f61098a2 (patch)
tree21840d4799c0645d9572af6d44c58bd7be117a39 /examples/pick_list
parent9dd20ead085ff3b9b4bd441b5e4938cf8e813f35 (diff)
downloadiced-e8049af23dbf4988ff24b75b90104295f61098a2.tar.gz
iced-e8049af23dbf4988ff24b75b90104295f61098a2.tar.bz2
iced-e8049af23dbf4988ff24b75b90104295f61098a2.zip
Make `horizontal_space` and `vertical_space` fill by default
Diffstat (limited to 'examples/pick_list')
-rw-r--r--examples/pick_list/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pick_list/src/main.rs b/examples/pick_list/src/main.rs
index e4d96dc8..c40493e2 100644
--- a/examples/pick_list/src/main.rs
+++ b/examples/pick_list/src/main.rs
@@ -43,10 +43,10 @@ impl Sandbox for Example {
.placeholder("Choose a language...");
let content = column![
- vertical_space(600),
+ vertical_space().height(600),
"Which is your favorite language?",
pick_list,
- vertical_space(600),
+ vertical_space().height(600),
]
.width(Length::Fill)
.align_items(Alignment::Center)