From 8a096dce529370608b425b5a1937bdfef936c510 Mon Sep 17 00:00:00 2001 From: Lucas Meurer Date: Tue, 7 Jan 2025 19:16:48 +0100 Subject: [PATCH] Fix flex demo not growing --- crates/egui_flex/examples/flex_demos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui_flex/examples/flex_demos.rs b/crates/egui_flex/examples/flex_demos.rs index 504f825..19349fc 100644 --- a/crates/egui_flex/examples/flex_demos.rs +++ b/crates/egui_flex/examples/flex_demos.rs @@ -110,7 +110,7 @@ fn main() -> eframe::Result { flex.add_flex( FlexItem::new().frame(frame), - Flex::new().direction(demo_dir), + Flex::new().w_full().h_full().direction(demo_dir), |flex| { heading(flex, "Grow");