Commit graph

686 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
9e81c2b9e8
Merge branch 'master' into feature/test-recorder 2025-08-29 04:25:52 +02:00
Héctor Ramón Jiménez
6be707267e
Revert "Make Widget::diff mutable"
This reverts commit 497ebcd0c3.
2025-08-29 04:21:43 +02:00
Héctor
caeb9ce49c
Merge pull request #3045 from iced-rs/limits-compression
Prioritize `Shrink` over `Fill`
2025-08-29 03:55:30 +02:00
Héctor Ramón Jiménez
81d1eda7fe
Introduce selector flag and decouple iced_widget from iced_runtime 2025-08-23 05:15:57 +02:00
Héctor Ramón Jiménez
fbe60feb7e
Remove Id for container, scrollable, and text_input 2025-08-23 02:04:30 +02:00
Héctor Ramón Jiménez
63142d34fc
Introduce new iced_selector subcrate and refactor Operation 2025-08-23 01:44:17 +02:00
Héctor Ramón Jiménez
3ad578e248
Skip third flex pass entirely if main axis is compressed 2025-08-21 18:16:46 +02:00
Héctor Ramón Jiménez
49a300ab38
Fix window::Icon verbose Debug implementation 2025-08-21 16:24:41 +02:00
Héctor Ramón Jiménez
7711b49f6b
Propagate Limits::compression in flex layout 2025-08-21 06:22:22 +02:00
Héctor Ramón Jiménez
7a7d562b03
Make Shrink take priority over nested Fill 2025-08-21 02:26:10 +02:00
Héctor Ramón Jiménez
497ebcd0c3
Make Widget::diff mutable 2025-08-20 23:14:23 +02:00
Héctor Ramón Jiménez
31bc6d48cd
Make Widget::layout and operate mutable
... and bless `responsive`!
2025-08-20 22:42:15 +02:00
Héctor Ramón Jiménez
bdcaadbe00
Introduce instruction::Target in test crate 2025-08-20 13:47:34 +02:00
Héctor Ramón Jiménez
47f0d5bae4
Add child method to Layout 2025-08-18 02:29:13 +02:00
Héctor Ramón Jiménez
f2aa570aac
Introduce draw_with_bounds to canvas::Cache
Also:
  - Change `Rectangle::INFINITE` to have coordinates at `f32::NEG_INFINITY`
  - Change `Frame::with_clip` to _not_ adjust the coordinate system
  - Rename `Size::INFINITY` to `INFINITE`
2025-08-17 22:31:58 +02:00
Héctor Ramón Jiménez
ab04751bc4
Apply Transformation::scale_factor to Quad styling 2025-08-17 09:11:19 +02:00
Héctor Ramón Jiménez
d2f36a0a58
Resize base layer in Stack before drawing 2025-08-17 00:58:37 +02:00
Héctor Ramón Jiménez
81ed466164
Turn URL in Color documentation into an actual link 2025-08-16 09:27:54 +02:00
Héctor Ramón Jiménez
26c9dc1709
Merge branch 'master' into feature/test-recorder 2025-08-12 22:26:43 +02:00
Héctor Ramón Jiménez
f350db7c8c
Bump contrast of secondary color in light themes 2025-08-06 20:19:03 +02:00
Héctor Ramón Jiménez
53c059bf88
Differentiate secondary color from primary 2025-08-06 19:37:14 +02:00
Héctor Ramón Jiménez
af3125842d
Reduce text influence over secondary color 2025-08-06 18:46:39 +02:00
Héctor Ramón Jiménez
acbb8920de
Add neutral background shade between weak and strong 2025-08-06 18:46:11 +02:00
Héctor Ramón Jiménez
3f22d5683a
Expose relative_luminance as part of Color 2025-08-06 05:55:33 +02:00
Héctor Ramón Jiménez
468014a184
Fix minor styling inconsistencies in some widgets 2025-08-06 02:59:38 +02:00
Héctor Ramón Jiménez
4d4f565da7
Try to make light themes a bit more colorful 2025-08-05 22:04:35 +02:00
Héctor Ramón Jiménez
6e78bea2d2
Remove bump hack in theme::palette 2025-08-05 10:06:38 +02:00
Héctor Ramón Jiménez
0857eb3bde
Improve contrast of built-in themes by leveraging Oklch 2025-08-05 10:01:01 +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
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
98d8f466bb
Merge branch 'master' into feature/test-recorder 2025-07-08 00:29:55 +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 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 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 Ramón Jiménez
327522eb99
Draft test recorder structure in iced_devtools 2025-05-30 03:06:57 +02: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 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
DKolter
d4a692d147 fix: Rectangle::is_within inconsistency 2025-05-29 13:26:38 +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
f929a20d29
Change From<str> for Selector to Text in iced_test 2025-05-28 03:25:39 +02: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
6155100767
Allow Overlay::overlay to borrow Layout 2025-05-15 16:32:49 +02:00
Héctor Ramón Jiménez
6bf709e03e
Make anchoring explicit and improve reusability of text pipelines 2025-05-04 03:54:42 +02:00
Héctor Ramón Jiménez
d643bd5ba2
Add content method to plain::Paragraph 2025-05-04 00:38:51 +02:00
Héctor Ramón Jiménez
f031b99196
Return change flag in paragraph::Plain::update 2025-05-03 05:53:19 +02:00