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/combo_box/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/combo_box/src') diff --git a/examples/combo_box/src/main.rs b/examples/combo_box/src/main.rs index 4f347667..fcf5feaa 100644 --- a/examples/combo_box/src/main.rs +++ b/examples/combo_box/src/main.rs @@ -68,7 +68,7 @@ impl Sandbox for Example { text(&self.text), "What is your language?", combo_box, - vertical_space(150), + vertical_space().height(150), ] .width(Length::Fill) .align_items(Alignment::Center) -- cgit