Commit graph

23 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
54f44754eb
Move Program to application module 2024-03-17 14:19:12 +01:00
Héctor Ramón Jiménez
28a27f08ed
Remove sandbox by making application more generic 🎉 2024-03-16 19:14:13 +01:00
Héctor Ramón Jiménez
bb71e8481e
Make sandbox helper take a title as well 2024-03-16 16:12:07 +01:00
Héctor Ramón Jiménez
c22269bff3
Introduce Program API 2024-03-16 05:33:47 +01:00
Héctor Ramón Jiménez
feab96f323
Add push_maybe to Column and Row 2024-02-15 02:38:07 +01:00
Héctor Ramón Jiménez
f53cfb8efa
Use Borrow for both options and selected in PickList 2024-02-14 03:54:40 +01:00
Héctor Ramón Jiménez
b535f7ae38
Invalidate QRCode cache on Appearance change 2024-02-09 23:57:11 +01:00
Clark Moody
4c6ea3cfe2
Update qr_code example with theme selector 2024-02-09 23:47:09 +01: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 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
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
7b8b01f560
Use f32 in Length::Units and rename it to Fixed 2023-02-17 15:40:17 +01:00
Héctor Ramón Jiménez
ac1945404e
Run cargo fmt 2023-02-17 13:57:04 +01:00
Jedsek
06fb7e0b51
Update main.rs 2023-01-20 13:56:02 +08:00
Jedsek
ccd02c525b
Update main.rs
The app should not render qr_code when data is empty
2023-01-20 13:46:09 +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
1dd1a2f97f
Introduce StyleSheet for Text widget 2022-06-29 10:51:01 +02:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module 2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row 2021-09-20 15:12:43 +07:00
Héctor Ramón Jiménez
f259d44186 Implement qr_code example 2020-11-20 10:29:40 +01:00