Cory Forsstrom
c885f56748
Fix shadowed variable
...
Layout passed into the overlay was accidentally shadowed by the
content's layout. So instead of offsetting by the proper layout, the
content layout was used instead.
2023-01-05 08:57:38 -08:00
Héctor Ramón Jiménez
5f2ec138d7
Implement Widget::operate for Responsive
2022-12-22 14:32:25 +01:00
tarkah
f1ada7a803
Allow &mut self in overlay
2022-11-29 12:17:29 -08:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API
2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
...
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
...
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait
2022-02-23 21:31:54 +07:00
Nick Senger
a12a92c266
fix: overlay layout for Responsive
2022-02-22 23:38:32 +07:00
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