Skip to content

Commit

Permalink
Improve image formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Oct 3, 2024
1 parent 524b98a commit 73b2406
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/egui_flex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ what all the different flex keywords mean.
has `grow > 0.0 || align_self == Stretch`

- nested flex containers work and will grow as expected _as long as they don't wrap_:

![image](https://github.com/user-attachments/assets/e2c7a742-8307-4f3c-ae2e-b92f0e1c2529)

Every group in the screenshot represents a flex container or flex item so this shows flexes nested three levels deep.

You can't arbitrarily nest flexes in child ui's, you have to use a special method on the flex builder to add nested
Expand Down

0 comments on commit 73b2406

Please sign in to comment.