Héctor Ramón Jiménez
9bc29e5347
Add explicit 'static in todos for Rust 1.80
2024-12-10 05:01:11 +01:00
Héctor Ramón Jiménez
1713ac49f2
Decouple iced_test from iced crate
2024-12-10 04:56:37 +01:00
Héctor Ramón Jiménez
1aeb317f2d
Add image and hash snapshot-based testing to iced_test
2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
8e3636d769
Return Result in todos test
2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
d09d5d45ae
Draft iced_test crate and test todos example
2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
1448c5bfa5
Implement some From traits for text_input::Id
2024-09-18 20:30:14 +02:00
Shan
6c741923c6
Implement align_x for TextInput
...
Co-authored-by: Shan <shankern@protonmail.com>
2024-08-24 02:36:18 +02:00
Héctor Ramón Jiménez
76737351ea
Re-export variants of Length and alignment types
2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets
2024-07-12 15:14:43 +02:00
Héctor Ramón Jiménez
e86920be5b
Remove load method from application and daemon
...
If you need to run a `Task` during boot, use
`run_with` instead!
2024-07-09 00:28:40 +02:00
Héctor Ramón Jiménez
c5f4bebeda
Remove window::Id::MAIN constant
2024-06-20 01:13:42 +02:00
Héctor Ramón Jiménez
341c9a3c12
Introduce daemon API and unify shell runtimes
2024-06-19 01:53:40 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support
2024-06-14 01:47:39 +02:00
Héctor Ramón Jiménez
d8ba6b0673
Merge branch 'master' into feat/text-macro
2024-05-23 13:29:45 +02:00
Héctor Ramón Jiménez
05f69f495e
Ask for explicit Length in center_* methods
2024-05-13 17:56:02 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
...
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.
This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00
Richard Custodio
bf9bbf4a3e
refactor: replace text(format!( with text macro
2024-03-18 17:08:56 -03:00
Héctor Ramón Jiménez
c4be7efce5
Use Program API in game_of_life example
2024-03-17 18:06:37 +01:00
Héctor Ramón Jiménez
2eb3333623
Remove unnecessary Command::batch in todos example
2024-03-17 17:58:52 +01:00
Héctor Ramón Jiménez
784fa80c0d
Use Program API in todos example
2024-03-17 17:57:24 +01:00
Héctor Ramón Jiménez
44f002f64a
Rename positive and destructive to success and danger in button
2024-03-07 15:21:42 +01:00
Héctor Ramón Jiménez
87d16a090b
Reduce default size of checkbox to 15.0
2024-03-05 22:03:10 +01:00
Héctor Ramón Jiménez
f4a4845ddb
Simplify theming for Button widget
2024-03-04 20:42:37 +01:00
Héctor Ramón Jiménez
4130ae4be9
Simplify theming for Text widget
2024-03-04 19:32:13 +01:00
Héctor Ramón Jiménez
e14e8e2e9a
Fix new beta toolchain warnings
2024-02-05 00:51:51 +01:00
Alexander van Saase
b5f1ca1695
Introduce support for disabling a checkbox
2024-02-01 13:16:28 +01:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location
2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
e710e76949
Fix size_hint for keyed_column
2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
67408311f4
Use actual floats for logical coordinates
2023-11-30 23:40:33 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support
2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
6c386e90a1
Fix clippy::trivially-copy-pass-by-ref
2023-09-20 04:33:48 +02:00
Yuri Astrakhan
3d6b9637c3
Chore: Inline format args for ease of reading
...
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-19 01:32:56 -04:00
Héctor Ramón Jiménez
8aa7874ba9
Fix Wasm build of todos example
2023-09-10 00:43:38 +02:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching
2023-09-10 00:34:21 +02:00
Thomas
52da89ac53
Add instructions to run web examples
2023-09-09 14:11:40 +02:00
Thomas
9c2ad457d8
Add webgl feature for web examples
2023-09-09 13:59:18 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
...
RIP Gfycat
2023-09-07 05:05:43 +02:00
Héctor Ramón
d1822ad811
Merge pull request #2069 from iced-rs/use-workspace-dependencies
...
Use workspace dependencies and package inheritance
2023-09-07 03:30:35 +02:00
Héctor Ramón Jiménez
08a031cbe5
Introduce keyboard::on_key_press and on_key_release
...
Also rename `subscription::events*` to `event::listen*`.
2023-09-07 02:45:15 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
...
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
837529bc99
Fix Wasm build of todos example
2023-09-04 03:02:46 +02:00
Héctor Ramón Jiménez
34495bba1c
Introduce keyed::Column widget
2023-09-04 02:55:09 +02:00
Bingus
d53ccc857d
refactored window storage;
...
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean
2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
e6a93e960c
Rename on_change to on_input for TextInput
2023-04-12 04:19:45 +02:00
Dan Mishin
f10e936f00
Introduce disabled state for TextInput
2023-04-12 03:55:18 +02:00
Héctor Ramón Jiménez
707de9d788
Introduce support for Font attributes
2023-03-30 00:56:00 +02:00
Héctor Ramón Jiménez
d1dc62ebcd
Merge branch 'master' into advanced-text
2023-03-17 20:17:23 +01:00
Héctor Ramón Jiménez
1816c985fa
Fix clippy lints for Rust 1.68
2023-03-14 11:11:17 +01:00