Commit graph

2151 commits

Author SHA1 Message Date
Héctor Ramón
04efd22dba
Merge pull request #1209 from iced-rs/checkbox-radio-text-color
Remove ambiguous `text_color` attributes for `Checkbox` and `Radio`
2022-01-21 19:27:17 +07:00
Héctor Ramón
5a1638add8
Merge pull request #1206 from iced-rs/fix/responsive-window-resize
Invalidate widget tree in `Responsive` after a `window::Event::Resized`
2022-01-20 22:12:08 +07:00
Héctor Ramón Jiménez
93285d85b0
Remove ambiguous text_color attributes for Checkbox and Radio
Instead, always use a `StyleSheet`.
2022-01-20 18:34:15 +07:00
Héctor Ramón Jiménez
a1311bcc5e
Remove position abbreviation in Component 2022-01-20 13:50:42 +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
cossonleo
41bd984d6b component overlay position fix 2022-01-20 11:35:45 +08: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
79ac5bb890
Write CNAME file before publishing in document workflow 2022-01-19 22:26:13 +07:00
Héctor Ramón Jiménez
8b0f2e62db
Create worflow to publish latest docs to iced-rs/docs 2022-01-19 22:04:27 +07:00
Héctor Ramón
92a699b97d
Merge pull request #1198 from iced-rs/subscription-helpers
`websocket` example and helpers to create custom subscriptions
2022-01-17 21:46:17 +07:00
Héctor Ramón Jiménez
5ce8653fb5
Add worker example to docs of subscription::unfold 2022-01-17 15:48:37 +07:00
Héctor Ramón Jiménez
ddbbe7353b
Simplify run and unfold helpers to build a Subscription 2022-01-17 15:29:41 +07:00
Héctor Ramón Jiménez
88f1168a0b
Update README file of websocket example 2022-01-16 19:59:59 +07:00
Héctor Ramón Jiménez
dc50a2830a
Draft websocket example 🎉 2022-01-16 15:50:19 +07:00
Héctor Ramón Jiménez
2f557731f3
Make clock example responsive 2022-01-15 11:56:19 +07:00
Héctor Ramón Jiménez
75348c5b8c
Use subscription::run for download_progress example 2022-01-15 11:45:19 +07:00
Héctor Ramón Jiménez
35e4f30759
Implement subscription::worker 🎉 2022-01-14 19:55:50 +07:00
Héctor Ramón Jiménez
2a3271dc10
Implement subscription::unfold 🎉 2022-01-14 19:55:27 +07:00
Héctor Ramón Jiménez
7442d0b66f
Implement subscription::run 🎉 2022-01-14 19:43:54 +07:00
Héctor Ramón Jiménez
810b445f8d
Rewrite events and events_with with a new Runner abstraction 2022-01-14 19:43:06 +07:00
Héctor Ramón
b7bc169120
Merge pull request #1195 from iced-rs/fix/vulnerabilities
Fix `cargo-audit` vulnerabilities
2022-01-14 13:50:30 +07:00
Héctor Ramón Jiménez
34adeaa081
Add audit workflow for GitHub CI 2022-01-13 19:59:25 +07:00
Héctor Ramón Jiménez
5f9cf991a7
Update reqwest in examples
... and rely on `rustls` instead of `native-tls`
2022-01-13 19:56:16 +07:00
Héctor Ramón
15a13a76b4
Merge pull request #1193 from iced-rs/responsive-widget
`Responsive` widget
2022-01-13 15:42:40 +07:00
Héctor Ramón Jiménez
aaf2444e9f
Replace chrono with time in clock example 2022-01-12 20:16:33 +07:00
Héctor Ramón Jiménez
8f97619785
Simplify version of the palette dependency 2022-01-12 20:05:05 +07:00
Héctor Ramón Jiménez
67f878b890
Remove support for old tokio crate 2022-01-12 20:03:18 +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
241e123c9b
Write documentation for component in iced_lazy 2022-01-12 11:39:54 +07:00
Héctor Ramón Jiménez
7ef0259a2c
Write missing docs for user_interface module 2022-01-12 11:22:57 +07:00
Héctor Ramón Jiménez
c85caff7a5
Increase text size of pane dimensions in pane_grid example 2022-01-12 11:19:51 +07:00
Héctor Ramón Jiménez
870d651f35
Implement Widget::overlay for Responsive widget 2022-01-12 11:15:05 +07:00
Héctor Ramón Jiménez
5a03cac7e7
Remove superfluous generic type in iced_lazy::Cache 2022-01-11 14:55:48 +07:00
Héctor Ramón Jiménez
2e255b7b91
Implement Widget::mouse_interaction for Responsive 2022-01-11 14:21:38 +07:00
Héctor Ramón Jiménez
810e086728
Introduce Renderer argument to mouse_interaction and on_event 2022-01-11 14:12:28 +07:00
Héctor Ramón Jiménez
6ab4611a6e
Invalidate widget tree from Responsive widget
... by introducing a new `invalidate_widgets` method to `Shell`
2022-01-11 13:47:43 +07:00
Héctor Ramón Jiménez
90c20ac46b
Draft Responsive widget 2022-01-11 10:47:56 +07:00
Héctor Ramón
1a31aefab4
Merge pull request #1164 from PolyMeilex/wgpu-update
Update wgpu 0.12
2022-01-04 16:45:42 +07:00
Héctor Ramón Jiménez
c19b673583
Run cargo fmt 2022-01-04 16:18:51 +07:00
Héctor Ramón Jiménez
a7d5bf0d91
Fix integration_wgpu example 2022-01-04 16:18:34 +07:00
Poly
8dc7a32964
Bump raw-window-handle 2022-01-04 16:15:45 +07:00
Poly
d675269399
Update wgpu_glyph 2022-01-04 16:15:45 +07:00
Poly
23ef0143ed
Update wgpu 0.12 2022-01-04 16:15:44 +07:00
Héctor Ramón
332b4b7842
Merge pull request #1182 from iced-rs/update-winit-and-glutin
Update `winit` and `glutin` forks
2022-01-04 14:53:03 +07:00
Héctor Ramón Jiménez
d6b1a9269e
Update winit and glutin forks 2022-01-04 13:51:35 +07:00
Héctor Ramón
7ab584ce96
Merge pull request #1175 from EkardNT/sandbox-exit
Allow Sandbox applications to exit.
2022-01-03 16:23:01 +07:00
Héctor Ramón
4db0f4a570
Merge pull request #1168 from LordRatte/patch-1
Change GitHub namespace to new org to prevent link-rot
2022-01-03 12:13:06 +07:00
Héctor Ramón Jiménez
ecd0997576
Center contents with Container in exit example
... also add some `padding` to buttons!
2022-01-03 12:09:07 +07:00
Héctor Ramón
14c9380ddd
Merge pull request #1181 from feylinara/feylinara/issue1087
Fix memory leak in opengl integration example
2022-01-03 12:03:07 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files 2022-01-03 11:36:13 +07:00