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
e657dc2ecd
Fine-tune Catalog approach for button, checkbox, and svg
2024-03-24 02:08:20 +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
71b9b3c3b1
Use closures for Svg::style
2024-03-12 13:41:14 +01:00
Héctor Ramón Jiménez
69bc1df252
Simplify theming for Svg widget
2024-03-06 11:36:49 +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
0655a20ad1
Make Shrink have priority over Fill in layout
2024-01-04 06:51:21 +01:00
Héctor Ramón Jiménez
1220ce55bc
Showcase color filtering in existing svg example
...
... and remove the `svg_style` example
2022-12-06 04:36:00 +01: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
c1f79b40cf
Make Application and Sandbox return a Result
2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
990b4aa0b7
Merge branch 'master' into feature/container-padding
2020-03-31 17:11:58 +02:00
Héctor Ramón Jiménez
749a9588d7
Implement padding support for Container
2020-03-31 01:21:51 +02:00
Héctor Ramón Jiménez
ae009158cc
Implement svg::Handle::from_memory
...
Useful if you already have your SVG data in memory.
2020-03-31 00:39:18 +02:00
Héctor Ramón Jiménez
883a9f22e2
Add env_logger to svg example
2020-02-26 20:11:01 +01:00
Piaoger
23fe47bdcb
Fix sample file path for svg example
...
Sample tiger.svg is move to resources after directory restructuring. This change is to correct the path
2020-02-20 17:28:42 +08:00
Héctor Ramón Jiménez
7cea737115
Package examples and remove dev-dependencies
2020-01-20 06:27:01 +01:00