Commit graph

1033 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
dd36893f7a
Introduce iced_sentinel and iced_debug crates 2024-02-26 07:00:51 +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
Héctor Ramón Jiménez
dfe1780128
Use then_some instead of then in checkbox example 2024-02-01 13:16:34 +01:00
Héctor Ramón Jiménez
8a0632d5ba
Simplify checkbox example 2024-02-01 13:16:34 +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
738aa47547
Remove position from overlay::Element 2024-02-01 01:08:21 +01:00
Héctor Ramón Jiménez
468f6a461a
Simplify slider example 2024-01-31 21:56:55 +01:00
Jonatan Pettersson
5e2b3d4a51
Enhance Slider and VerticalSlider functionality
* Add optional default behavior
  * Add a `default` field
  * Add a `default()` method to set the `default` field
  * A double-click, ctrl-click or command-click will set the slider to the default value
* Add optional fine-grained control
  * Add an optional `step_fine` field
  * Add a `step_fine()` method to set the `step_fine` field
  * Use `step_fine` in place of `step` while shift is pressed
* Add increment/decrement via up/down keys
* Update `Slider` and `VerticalSlider` examples
2024-01-31 21:25:19 +01:00
Héctor Ramón Jiménez
b1932989b0
Improve Radians ergonomics 2024-01-31 19:35:38 +01:00
kxie
c077e107f2
Use Radians in arc and ellipse types 2024-01-31 19:21:10 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type 2024-01-21 17:56:01 +01:00
Héctor Ramón Jiménez
25f182f933
Introduce Border struct analogous to Shadow 2024-01-20 13:29:25 +01:00
Héctor Ramón Jiménez
370b2f6df7
Use Default implementation of renderer::Quad 2024-01-20 12:25:07 +01:00
Héctor Ramón Jiménez
b7b457a575
Make shadow optional in renderer::Quad 2024-01-20 12:11:18 +01:00
Nick Senger
cc906c83cd
feat: quad shadows 2024-01-20 11:59:37 +01:00
Héctor Ramón Jiménez
8bf2386972
Remove Compositor window generic
And update `glyphon` and `window_clipboard`
2024-01-18 09:55:27 +01:00
Héctor Ramón Jiménez
d09f36e054
Fix missing semi-colon lint in vectorial_text example 2024-01-17 13:45:47 +01:00
Héctor Ramón Jiménez
468f7432dd
Add vectorial_text example 2024-01-17 13:15:05 +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
534c7dd7b0
Merge branch 'master' into update-winit 2024-01-16 12:02:42 +01:00
Héctor Ramón Jiménez
73e7cf16e3
Update rfd to 0.13 2024-01-15 23:51:46 +01:00
Héctor Ramón Jiménez
11474bdc3e
Fix websocket example 2024-01-11 06:12:37 +01:00
Héctor Ramón Jiménez
226271148e
Use multiple squares instead of vertical_space in layout example 2024-01-10 10:08:11 +01:00