Commit graph

17 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
c22269bff3
Introduce Program API 2024-03-16 05:33:47 +01:00
Héctor Ramón Jiménez
34faedd32b
Rename container::box_ to rounded_box 2024-03-08 18:57:44 +01:00
Héctor Ramón Jiménez
29326215cc
Simplify theming for Container widget 2024-03-05 03:48:08 +01:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned 2023-09-20 04:11:52 +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
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
97555e67af
Implement theme styling for Container 2022-06-07 04:11:24 +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
2736e4ca35 Hide Text as an implementation detail of Tooltip 2021-02-24 00:59:29 +01:00
Héctor Ramón Jiménez
4e923290cc Add style and padding to Tooltip 2021-02-23 04:00:35 +01:00
Héctor Ramón Jiménez
2f766b7341 Introduce Tooltip::gap to control spacing 2021-02-23 03:16:37 +01:00
Héctor Ramón Jiménez
81c75c1524 Change Tooltip to support Text only for now 2021-02-23 03:09:16 +01:00
Yusuf Bera Ertan
a19f89d3a6
feat(native): add Tooltip widget 2021-02-15 19:37:46 +03:00