Commit graph

4 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
0e475b008f
Invalidate widget tree in Responsive after a window::Event::Resized
This is a pessimistic approach! Ideally, we should be able to recreate
only the contents of the `Responsive` widget in `Widget::layout`, but
given `view` is impure we have to trigger a brand new `view` call.

The persistent widget tree should make this easier.
2022-01-20 13:43:45 +07:00
Héctor Ramón Jiménez
a3744ec97a
Recompute layout of Responsive contents when size changes 2022-01-20 04:09:46 +07:00
Héctor Ramón Jiménez
f6c436aec1
Write docs for responsive in iced_lazy 2022-01-12 11:48:49 +07:00
Héctor Ramón Jiménez
870d651f35
Implement Widget::overlay for Responsive widget 2022-01-12 11:15:05 +07:00