Skip to content

Commit

Permalink
Merge pull request #51 from lucasmerlin/fix-flex-demo-grow
Browse files Browse the repository at this point in the history
Fix flex demo not growing
  • Loading branch information
lucasmerlin authored Jan 7, 2025
2 parents ee78393 + 8a096dc commit f39f198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui_flex/examples/flex_demos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit f39f198

Please sign in to comment.