Commit graph

1054 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
aeb72d528f
Use closures for Text::style 2024-03-12 14:35:55 +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
628df69538
Make component example generic over Theme 2024-03-09 12:24:40 +01:00
rustrover
500ba962d1 fix some comments
Signed-off-by: rustrover <seekseat@126.com>
2024-03-09 15:26:37 +08: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
7161cb40c7
Use Theme::TokyoNight for clock example 2024-03-08 01:07:11 +01:00
Héctor Ramón Jiménez
fe7ccd5e15
Use button::danger in bezier_tool example 2024-03-08 01:02:57 +01:00
Héctor Ramón Jiménez
5075d41623
Use generated palette as Theme in color_palette example 2024-03-08 00:59:33 +01:00
Héctor Ramón Jiménez
76627bb481
Group preset list and clear button in game_of_life example 2024-03-08 00:38:02 +01:00
Héctor Ramón Jiménez
7ece5eea50
Implement additional helpers for Border and container::Appearance 2024-03-07 21:02:17 +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
905f2160e6
Move Theme type to iced_core 2024-03-07 00:14:41 +01:00
Héctor Ramón Jiménez
7c4bf70023
Simplify theming for Application 2024-03-06 21:27:03 +01:00
Héctor Ramón Jiménez
34e7c6593a
Use Style struct pattern instead of trait for all widgets 2024-03-06 20:30:58 +01:00
Héctor Ramón Jiménez
69bc1df252
Simplify theming for Svg widget 2024-03-06 11:36:49 +01:00
Héctor Ramón Jiménez
5824ceb1fe
Simplify theming for ProgressBar widget 2024-03-05 22:13:55 +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
29326215cc
Simplify theming for Container widget 2024-03-05 03:48:08 +01:00
Héctor Ramón Jiménez
1f0a0c235a
Simplify theming for Checkbox widget 2024-03-05 02:08:19 +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
cbe4603579
Remove complex cross-axis layout logic from Column and Row 2024-03-03 01:08:11 +01:00
Héctor Ramón Jiménez
7d3735f0fa
Assert scrollable content size never fills scrolling axis 2024-02-24 19:46:44 +01:00
Héctor Ramón Jiménez
ce4eef64cd
Enable layout debugger for Wasm builds in tour example 2024-02-22 09:24:13 +01:00
Héctor Ramón Jiménez
cd2130a69a
Add size_hint method to Component trait
This can be used to aid the sizing strategy of
some containers directly in the component definition,
instead of stating the sizes explicitly in `view`
logic.
2024-02-21 08:24:08 +01:00
Héctor Ramón Jiménez
0c7f4eaab5
Make Canvas fill the parent container on Wasm 2024-02-20 02:51:47 +01:00
Héctor Ramón Jiménez
04df889cac
Use two layers for image::atlas only on Gl backend 2024-02-19 08:18:51 +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
e8049af23d
Make horizontal_space and vertical_space fill by default 2024-02-15 02:08:22 +01:00
Héctor Ramón Jiménez
9dd20ead08
Rename password method in TextInput to secure 2024-02-15 02:01:56 +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
0eaaeaa517
Simplify scrollable styling API 2024-02-12 19:24:09 +01:00
dtzxporter
0f920e0435
Introduce an appearance for a scrollable, ability to customize the scrollbar gap.
Update scrollable.rs
2024-02-12 19:03:32 +01:00
Héctor Ramón Jiménez
6600f66cbd
Fix style in solar_system example 2024-02-10 00:39:31 +01:00
Héctor Ramón Jiménez
8a8c1ab2c8
Log available formats and alpha modes in wgpu:🪟:compositor 2024-02-10 00:38:25 +01:00
Héctor Ramón Jiménez
81bed94148
Use custom Application::style to enable transparency 2024-02-10 00:32:03 +01:00
Daniel Yoon
712c8e53f2
Fix alpha mode configuration in iced_wgpu 2024-02-10 00:24:41 +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
99a3f25c5f
Update async-tungstenite dependency in websocket example 2024-02-09 23:42:36 +01:00
Héctor Ramón Jiménez
2ba73b0faf
Fix wrapped lines not being considered when measuring TextEditor 2024-02-07 21:48:28 +01:00
Héctor Ramón Jiménez
e14e8e2e9a
Fix new beta toolchain warnings 2024-02-05 00:51:51 +01:00
Héctor Ramón Jiménez
8792fc0bb7
Fix unused import in game_of_life example 2024-02-05 00:26:47 +01:00
Héctor Ramón Jiménez
854e967a26
Fix unused Instant in game_of_life example 2024-02-05 00:25:40 +01:00
Héctor Ramón Jiménez
17cb548e20
Use Theme::ALL for theme selector in styling example 2024-02-03 18:51:30 +01:00
Var Bhat
04b9dc4e2d
Add Dracula, Nord, Solarized and Grubvox variants to Theme 2024-02-03 18:29:25 +01:00
brianch
701bf22af6
The memory information is returned in bytes and not kb.
Fix the documentation of the Information struct, and the example
system_information that uses it.

Co-authored-by: =?UTF-8?q?Ahmet=20Kaan=20G=C3=9CM=C3=9C=C5=9E?= <96421894+Tahinli@users.noreply.github.com>
2024-02-02 16:02:17 +01:00
Héctor Ramón Jiménez
7cba9a3e7f
Implement loupe example 2024-02-02 02:27:25 +01:00
Héctor Ramón Jiménez
9b8614a4e2
Implement transform method for Geometry 2024-02-02 01:53:28 +01:00
Héctor Ramón Jiménez
4afe1c7111
Fix spacing in checkbox example 2024-02-01 13:16:34 +01:00