peterstuart / cherry

MIT License
0 stars 0 forks source link

Support stretch alignment #10

Closed peterstuart closed 2 years ago

peterstuart commented 2 years ago

This tries to mimic the behavior of the stretch alignment in CSS flexbox. In an example where the main axis is vertical:

Fixes #9.

Testing

Remove the width from yellow_box and/or magenta_box, and see how that interacts with the different alignments you can set on container (try the new Stretch alignment).

peterstuart commented 2 years ago

@helixbass Yeah, I'll do that next. That seems like it should be pretty easy to do.