Commit graph

5917 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
729a09fa4e
Write documentation for table 2025-07-18 21:21:07 +02:00
Héctor Ramón Jiménez
e0d9078334
Implement From<Option<T>> for Element 2025-07-18 03:53:59 +02:00
Héctor Ramón Jiménez
dcea10f707
Add table support to markdown widget 2025-07-17 03:48:45 +02:00
Héctor Ramón Jiménez
291e615c0b
Use row-major order for cells in table widget 2025-07-16 22:38:09 +02:00
Héctor Ramón Jiménez
a3d42e2d37
Fix width column factor computation in table 2025-07-16 21:39:40 +02:00
Héctor Ramón Jiménez
6e71c7dd6f
Implement alignment support for table::column 2025-07-16 04:06:38 +02:00
Héctor Ramón Jiménez
1e89439aff
Respect column width in table widget 2025-07-16 02:31:43 +02:00
Héctor Ramón Jiménez
2777de3c7d
Add interactive controls to table example 2025-07-16 00:10:05 +02:00
Héctor Ramón Jiménez
931ed20cf8
Rename spacing to padding in table widget 2025-07-15 20:23:44 +02:00
Héctor Ramón Jiménez
b3ce0f23a5
Draft table widget 2025-07-15 05:28:33 +02:00
Héctor Ramón Jiménez
283d0e74a8
Annotate Shell methods with #[must_use] 2025-06-29 14:42:59 +02:00
Héctor
2a144e7e76
Merge pull request #3005 from iced-rs/feature/markdown-quotes
Quotes for `markdown` widget
2025-06-27 19:23:51 +02:00
Héctor Ramón Jiménez
946e2a73b7
Implement Rule support in markdown widget 2025-06-27 18:49:51 +02:00
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