Commit graph

5904 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
ef13eb58b2
Fix styling example and regenerate snapshots 2025-06-27 17:05:38 +02:00
Héctor Ramón Jiménez
0ff616814d
Fix typo in docs of markdown::Viewer::quote 2025-06-27 16:51:00 +02:00
Héctor Ramón Jiménez
ca1bf717b3
Implement Quote support in markdown widget 2025-06-27 16:47:54 +02:00
Héctor Ramón Jiménez
5ad08acd97
Defer flex layout of elements with fixed length in the main axis 2025-06-27 16:47:05 +02:00
Héctor
9ef2c46883
Merge pull request #3004 from 13r0ck/scrollable-nit
Use `Limits::min` directly in `scrollable::layout`
2025-06-27 00:11:10 +02:00
Brock Szuszczewicz
482d348230
Use Limits::min directly in scrollable::layout 2025-06-27 00:02:30 +02:00
Héctor Ramón Jiménez
8578a1362b
Fix clippy lints for Rust 1.88 🎉 2025-06-27 00:00:49 +02:00
Héctor
c952ea8485
Merge pull request #3000 from iced-rs/feature/hot-reloading
Hot Reloading
2025-06-24 17:48:48 +02:00
Héctor Ramón Jiménez
e689ec13a6
Place hot reloading behind hot feature flag 2025-06-24 17:37:08 +02:00
Héctor Ramón Jiménez
699b85762b
Try to detect stale type changes when hotpatching 2025-06-24 14:30:09 +02:00
Héctor Ramón Jiménez
c1c5fbda61
Update cargo-hot 2025-06-24 14:30:09 +02:00
Héctor Ramón Jiménez
10bbe44c30
Draft experimental hotpatching support 🎉
Thanks to `subsecond` by the Dioxus folks!
2025-06-24 14:30:09 +02:00
Héctor Ramón Jiménez
5ca5000cdc
Add elided lifetimes to view helpers in examples 2025-06-24 14:29:36 +02:00
Héctor Ramón Jiménez
bde4572bc5
Remove PartialEq implementation for window::Position 2025-06-24 14:06:54 +02:00
Héctor
89f480bdae
Merge pull request #2768 from edwloef/fix_rectangle_snap
fix rectangle snapping
2025-06-04 12:22:51 +02:00
Héctor Ramón Jiménez
08a37406f2
Replace generic into call with Vector::from 2025-06-04 12:14:31 +02:00
Héctor
e867f4428f
Merge pull request #2955 from watsaig/impl-debug-for-task
Implement `Debug` for `Task`
2025-06-03 18:54:04 +02:00
Craig Watson
8efda5e688 use debug_struct instead of write! 2025-06-03 09:28:15 -07:00
Héctor
c9cfd6fc17
Merge pull request #2975 from DKolter/issue_2963
Fix text bounds cutoff in `iced_wgpu`
2025-06-03 12:25:03 +02:00
DKolter
dcf5abb0d8 Also add round to text bound position 2025-06-03 12:17:26 +02:00
Héctor
bc4275c522
Merge pull request #2972 from jbirnick/master
Fix docs
2025-06-03 11:56:30 +02:00
DKolter
f19c45494a fix: Wgpu text bounds cutoff 2025-06-01 12:45:05 +02:00
Héctor Ramón Jiménez
7afbb89ebf
Add snap field to rule::Style 2025-05-30 18:11:38 +02:00
Héctor Ramón Jiménez
54a9f1b770
Snap rule widget to the pixel grid 2025-05-30 18:09:40 +02:00
Johann Birnick
3f7ceb8be6 fix docs 2025-05-29 21:08:45 -07:00
Héctor
ca6d992d67
Merge pull request #2969 from iced-rs/feature/snapping-reloaded
Add `crisp` feature for default quad snapping
2025-05-30 03:06:33 +02:00
Héctor
8df8d9a0c1
Merge pull request #2964 from DKolter/issue_2961
Fix text damage calculation on tiny skia
2025-05-30 01:09:48 +02:00
Héctor
c86b04f5c2
Merge pull request #2966 from DKolter/issue_2965
Fix Rectangle::is_within inconsistency
2025-05-30 01:08:37 +02:00
Héctor Ramón Jiménez
567b7d9e9f
Add crisp feature for enabling default quad snapping 2025-05-30 00:30:23 +02:00
edwloef
6f935f3449
fix underflow when calculating new bounds 2025-05-30 00:02:56 +02:00
edwloef
c1ab626307
fix rectangle snapping 2025-05-30 00:02:56 +02:00
Héctor
12ac265694
Merge pull request #2967 from Koranir/single-sdf-quad
Use a single SDF for all quad corners
2025-05-29 23:31:09 +02:00
Héctor Ramón Jiménez
215cee8c82
Update Cargo.lock 2025-05-29 22:24:59 +02:00
Daniel
74665d696d use single sdf for all corners 2025-05-29 22:16:33 +10:00
DKolter
d4a692d147 fix: Rectangle::is_within inconsistency 2025-05-29 13:26:38 +02:00
DKolter
371d0784a8 fix: Text::visible_bounds applies duplicate alignment for tiny skia 2025-05-29 12:03:27 +02:00
Héctor Ramón Jiménez
cd60385b1e
Update styling test snapshots 2025-05-29 00:02:59 +02:00
Héctor Ramón Jiménez
6230f4c0bd
Make space in toggler integral 2025-05-28 22:56:56 +02:00
Héctor Ramón Jiménez
f0156359db
Revert "Snap text to the pixel grid on the X axis in iced_wgpu"
This reverts commit 6c0962c5c3.
2025-05-28 22:51:59 +02:00
Héctor Ramón Jiménez
9d4e849a0e
Revert "Merge pull request #2962 from iced-rs/fix/blurry-quads"
This reverts commit 03326b955b, reversing
changes made to 7c5a4bc465.
2025-05-28 22:51:10 +02:00
Héctor Ramón Jiménez
6c0962c5c3
Snap text to the pixel grid on the X axis in iced_wgpu 2025-05-28 21:02:45 +02:00
Héctor Ramón Jiménez
3881d68b7e
Round translation to integral units in scrollable 2025-05-28 20:51:01 +02:00
Héctor Ramón Jiménez
5929b26722
Apply snap distance to Mesh primitives in iced_wgpu 2025-05-28 20:47:23 +02:00
Héctor Ramón Jiménez
f929a20d29
Change From<str> for Selector to Text in iced_test 2025-05-28 03:25:39 +02:00
Héctor
03326b955b
Merge pull request #2962 from iced-rs/fix/blurry-quads
Consistent primitive pixel snapping in `iced_wgpu`
2025-05-28 02:55:20 +02:00
Héctor Ramón Jiménez
1d9e812e0a
Update styling test snapshots 2025-05-28 02:43:58 +02:00
Craig Watson
7eb371729b Remove unnecessary bound 2025-05-27 08:40:34 -07:00
Héctor Ramón Jiménez
15aa94c0f1
Try to align quad and image primitives in iced_wgpu 2025-05-26 23:59:15 +02:00
Héctor Ramón Jiménez
3aedbd5844
Snap quad primitives to the pixel grid (once again!)
Let's hope this approach handles common cases better.
2025-05-25 21:27:00 +02:00
Craig Watson
15230cbee3 implement Debug for Task 2025-05-23 12:16:29 -07:00