Commit graph

2564 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
23229e00f6
Use FnOnce in Command::perform
... and revert `FnMut` usage.
2022-08-17 15:54:31 +02:00
无限UCW
f21d1209aa
Relax Fn trait bounds in Command & Action 2022-08-12 01:57:05 +08:00
Héctor Ramón
e209349c50
Merge pull request #1402 from tarkah/fix/component-operate
Impl operate for Component widget
2022-08-09 04:41:52 +02:00
tarkah
a4d5b82768 Impl operate for Component widget 2022-08-07 14:46:28 -07:00
Héctor Ramón Jiménez
8550550027
Remove iced_pure from document workflow 2022-08-06 01:57:40 +02:00
Héctor Ramón
1923dbf7f0
Merge pull request #1393 from iced-rs/deprecate-stateful-widgets
Replace stateful widgets with the new `iced_pure` API
2022-08-06 00:32:57 +02:00
Héctor Ramón Jiménez
c23ed7e4a0
Lay out UserInterface after diffing 2022-08-05 23:51:32 +02:00
Héctor Ramón
f294c2d162
Merge pull request #1399 from iced-rs/widget-operations
Widget Operations
2022-08-05 22:31:26 +02:00
Héctor Ramón Jiménez
ad5bd0970d
Fix documentation in operation::focusable 2022-08-05 06:01:54 +02:00
Héctor Ramón Jiménez
d5629c103c
Remove widget::state leftover file 2022-08-05 05:50:22 +02:00
Héctor Ramón Jiménez
66f7d43dc9
Write missing documentation in iced_native 2022-08-05 05:15:41 +02:00
Héctor Ramón Jiménez
1b4f38c71f
Bump websocket example version to fix audit workflow 2022-08-04 03:59:21 +02:00
Héctor Ramón
7021b940c2
Merge pull request #1396 from nicksenger/style/menu-border-radius
Allow specification of `border_radius` for `pick_list::Menu`
2022-08-04 03:58:00 +02:00
Héctor Ramón Jiménez
13dd1ca0a8
Implement scrollable::snap_to operation 2022-08-04 03:55:41 +02:00
Héctor Ramón Jiménez
6eb3dd7e5e
Implement focus_previous operation 2022-08-04 03:24:44 +02:00
Nick Senger
0c13af179f
feat: allow specification of border_radius for pick_list::Menu 2022-08-02 16:16:06 -07:00
Héctor Ramón Jiménez
54ad92ce91
Build UserInterface only once on Outcome::Chain 2022-08-02 17:34:04 +02:00
Héctor Ramón Jiménez
77c6864e7c
Implement focus_next operation
... as well as a `count_focusable` composable helper!
2022-08-02 04:20:47 +02:00
Héctor Ramón Jiménez
6dac049db5
Fix clippy lints 🎉 2022-07-28 04:00:06 +02:00
Héctor Ramón Jiménez
744edbd6c1
Focus text inputs in todos example 2022-07-28 03:58:46 +02:00
Héctor Ramón Jiménez
52f84e51e9
Implement Widget::operate for TextInput 2022-07-28 03:53:47 +02:00
Héctor Ramón Jiménez
80688689aa
Draft widget operations 2022-07-28 02:46:51 +02:00
Héctor Ramón Jiménez
a003e797e8
Fix uninitialized Tree in overlay::Menu 2022-07-28 00:50:03 +02:00
Héctor Ramón Jiménez
375386faa9
Remove pure leftovers in iced_graphics 2022-07-27 07:21:15 +02:00
Héctor Ramón Jiménez
c512d50e19
Fix clippy lints 2022-07-27 06:59:54 +02:00
Héctor Ramón Jiménez
effa6881f7
Enable arc example 2022-07-27 06:57:49 +02:00
Héctor Ramón Jiménez
2dbcdba209
Update counter example in README 🎉 2022-07-27 06:56:26 +02:00
Héctor Ramón Jiménez
a1c5f8839d
Use ToString for Text::new instead of Into<String> 2022-07-27 06:56:09 +02: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
c44267b85f
Merge pull request #1326 from maxwell8888/master
add pure version of color_palette example
2022-07-27 03:25:02 +02:00
Héctor Ramón Jiménez
f558103abe
Fix small lint in pure_color_palette example 2022-07-27 03:24:25 +02:00
Max Unsted
a28799b65e
add pure version of color_palette example 2022-07-27 03:18:34 +02:00
Héctor Ramón
785385d889
Merge pull request #1390 from iced-rs/fix/container-layout
Fix `max_width` and `max_height` for `Container`
2022-07-19 18:34:39 +02:00
Héctor Ramón Jiménez
cdd3802e68
Fix max_height for Scrollable 2022-07-18 23:38:44 +02:00
Héctor Ramón Jiménez
7e5a5ae743
Fix max_width and max_height for Container 2022-07-18 19:59:38 +02:00
Héctor Ramón
61fd5b0050
Merge pull request #1387 from Luni-4/ci-improvements
CI improvements
2022-07-15 01:35:23 +02:00
Luni-4
408474ca31 test-ci: Use modern workspace option instead of all 2022-07-14 19:39:43 +02:00
Luni-4
b6278afe3a format-ci: Add verbose option for format lints 2022-07-14 19:39:43 +02:00
Luni-4
1d7a4690a4 lint-ci: Consider clippy warnings as errors 2022-07-14 19:39:43 +02:00
Luni-4
09d2541a7a lint-ci: Check examples, tests and benches too 2022-07-14 19:39:43 +02:00
Luni-4
e750809ec2 lint-ci: Use modern workspace option instead of all 2022-07-14 19:39:43 +02:00
Héctor Ramón
2883aa31bb
Use proper profile for cargo-deb in build workflow 2022-07-14 19:11:25 +02:00
Héctor Ramón Jiménez
34b691fdd4
Fix deb asset path in todos example 2022-07-14 18:29:40 +02:00
Héctor Ramón
387b2d0991
Merge pull request #1346 from Luni-4/reduce-binaries
Add profile release
2022-07-14 18:19:19 +02:00
Héctor Ramón Jiménez
7022090a97
Use release-opt profile in build workflow 2022-07-14 18:06:04 +02:00
Luni-4
8f03a72742 Add custom profile release-opt 2022-07-14 16:58:06 +02:00
Héctor Ramón
e187d6ce7b
Merge pull request #1350 from wyatt-herkamp/paste_event
Added a paste Event to TextInput
2022-07-13 18:52:24 +02:00
Héctor Ramón Jiménez
54c9815b7b
Simplify update signature in text_input 2022-07-13 18:37:27 +02:00
Héctor Ramón Jiménez
891b917576
Simplify on_paste signature
... and fix spacing.
2022-07-13 18:35:41 +02:00
Wyatt Jacob Herkamp
e8cfa644e7
Added on_paste handler to TextInput 2022-07-13 18:32:56 +02:00