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
dtzxporter
5dcab9bf3a
Expose setting to disable vsync if requested.
...
- This improves rendering performance on windows 10x and doesn't result in noticeable tearing. The user can decide if they want it anyways.
2025-05-04 14:25:16 -04: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
Héctor Ramón Jiménez
9e934fe2a7
Remove now redundant Overlay::is_over
...
The `mouse_interaction` method can be properly used
now to encode hover status with the `None` and `Idle`
variants.
2025-05-02 21:23:17 +02:00
Héctor Ramón Jiménez
aa27ab50e5
Use Self in core::transformation
2025-05-01 01:13:10 +02:00
Héctor Ramón Jiménez
fae95d6095
Draft float widget and simplify image again 🎉
2025-04-29 22:34:09 +02:00
Héctor Ramón Jiménez
29a19fcde1
Purify Animation API and introduce application::timed
2025-04-29 03:03:32 +02:00
Héctor Ramón Jiménez
4334923add
Merge branch 'master' into feature/time-travel
2025-04-29 02:06:34 +02:00
Héctor Ramón Jiménez
ef16ea3b2a
Tweak and organize devtools crate
2025-04-28 22:41:09 +02:00
Héctor Ramón Jiménez
61b96caf21
Reduce nesting in Rectangle::offset
2025-04-26 04:50:59 +02:00
Héctor Ramón Jiménez
385cfcddb2
Remove push method for overlay::Group
2025-04-26 02:55:42 +02:00
Héctor Ramón Jiménez
6c51a9579d
Make Overlay aware of viewport
...
... and unify `Image::float` and `Image::translate`
2025-04-26 02:52:57 +02:00