linebender / druid

A data-first Rust-native UI design toolkit.
https://linebender.org/druid/
Apache License 2.0
9.54k stars 569 forks source link

Add a grid widget #1383

Open Immortalin opened 3 years ago

Immortalin commented 3 years ago

A Grid implementation would complement Flexbox well for more complex layouts.

cmyr commented 3 years ago

I agree that we should have some sort of grid widget; given our layout model I think the best inspiration/model may be flutter's GridView.

kud1ing commented 3 years ago

This goal might overlap with https://github.com/linebender/druid-widget-nursery:

A really good, general widget for laying out collections of items. There are different approaches we could use (flexbox or grid from the HTML world).

alexmozaidze commented 2 years ago

When I was writing HTML/CSS, Grid was super useful, it would be really cool to have something similar in Druid!