Osspial / derin

A Derive-Based GUI Library for Rust
Mozilla Public License 2.0
19 stars 2 forks source link

Flexbox-style layout #3

Open Osspial opened 7 years ago

Osspial commented 7 years ago

Derin currently supports CSS grid-style layout, but flexbox-style layout would be a super nice thing to have.

scalarwaves commented 5 years ago

The stretch crate is a flex box implementation written in Rust

katyo commented 4 years ago

The stretch crate is a flex box implementation written in Rust

In my experience stretch's API isn't so pretty usable, especially in Rust's trait-driven applications. In particular I had compelled to duplicate my layout properties into stretch's styles everywhere.