Commit graph

808 commits

Author SHA1 Message Date
B0ney
61e642783a (windows): add corner preference in platform specific option. 2025-11-29 14:23:52 +00:00
Tatesa Uradnik
6f1fbfdb60
feat(modifiers): add NONE 2025-11-29 14:07:42 +01:00
Héctor
625fc76f19
Merge pull request #3001 from csmoe/window-event-scale-change
feat: add window::Event::ScaleFactorChanged
2025-11-29 06:55:02 +01:00
Héctor Ramón Jiménez
8811367e42
Rename ScaleFactorChanged event to Rescaled 2025-11-29 06:45:34 +01:00
csmoe
21cf7f98d7
feat: add window::Event::ScaleFactorChanged 2025-11-29 06:44:12 +01:00
Héctor Ramón Jiménez
8e372ce256
Allow scroll_to and snap_to to operate on a single axis
Co-authored-by: Rizzen Yazston <rizzen.yazston@gmail.com>
2025-11-29 06:23:18 +01:00
Héctor Ramón Jiménez
19569f7900
Implement From<(u32, u32)> for Size 2025-11-29 02:14:40 +01:00
Héctor
6aba73a13f
Merge pull request #2991 from bbb651/keyboard-event-repeat
Add `repeat` field to `keyboard::Event::KeyPressed`
2025-11-29 02:01:52 +01:00
bbb651
4108838713
Add repeat field to keyboard::Event::KeyPressed 2025-11-29 01:52:31 +01:00
Brock Szuszczewicz
dd1ff34697
Fix panic when drawing empty image in iced_tiny_skia 2025-11-29 01:47:00 +01:00
Héctor Ramón Jiménez
99748b89de
Implement AutoScrollIcon overlay for scrollable 2025-11-28 08:28:03 +01:00
Héctor
d94c080dd4
Merge pull request #2988 from andymandias/text-font_maybe
Add `font_maybe` Utility Function to `Text`
2025-11-27 04:42:50 +01:00
edwloef
6bbe189809
Fix inconsistent naming of tree parameter in Widget trait (#2950)
* fix inconsistent naming of tree parameter in widget trait

* rename `Tree` parameter in various usages across iced
2025-11-25 23:58:07 +01:00
Héctor Ramón Jiménez
0c075cc9c3
Fix broken color! documentation link in core::color 2025-11-25 23:43:22 +01:00
Héctor Ramón Jiménez
b6926342fe
Improve import consistency in core::color 2025-11-25 23:39:34 +01:00
Héctor Ramón Jiménez
39d1971b46
Remove Color::parse method and add some more tests 2025-11-25 23:36:51 +01:00
misaka10987
e2f5d36cee
implement FromStr and Display for Color 2025-11-25 23:30:08 +01:00
Héctor
b89c412496
Merge pull request #2918 from dcz-self/master
Report cursor size to input method
2025-11-25 22:51:48 +01:00
Héctor Ramón Jiménez
71061b53bb
Fix InputMethod::merge example in documentation 2025-11-25 22:37:44 +01:00
dcz
d22da7d261
Report cursor size to InputMethod
Co-authored-by: dcz-self <dcz-self@users.noreply.github.com>
2025-11-25 22:25:40 +01:00
edwloef
0cd82ccc11
Fix layout explanation being hidden by multi-layer widgets
If the child widget has multiple layers (e.g. `Stack`), the layout explanation
would be partially hidden by the layers of the child widget. Just put the layout
explanation in its own layer to mitigate this.

Co-authored-by: Craig Watson <craig@watsons.ch>
2025-11-25 22:10:50 +01:00
Héctor
9c28319774
Merge pull request #2915 from edwloef/children-exact-size
make `Layout::children` return an `ExactSizeIterator`
2025-11-25 21:43:58 +01:00
edwloef
1305d3c00f
add iced logo to Iced-Icons.ttf 2025-11-25 21:08:40 +01:00
Héctor
f8663cf0a2
Merge pull request #2890 from Remmirad/pub_text_field_select_range
Make `text_input::State` `select_range` public
2025-11-25 10:49:12 +01:00
Héctor
a3db4477b4
Merge pull request #2892 from edwloef/fix_is_fill_docs
fix doc comment of `Length::is_fill`
2025-11-25 10:43:56 +01:00
Remmirad
7c661c94be
Introduce select_range to operation::text_input 2025-11-25 10:38:45 +01:00
--replace-all
3d926858c7
Removed bezier_tool from list of examples in the Widget trait docs 2025-11-25 07:58:21 +01:00
Andrew Baldwin
c82f97c8c9 Add font_maybe to Text. 2025-11-24 12:52:59 -08:00
Héctor Ramón Jiménez
47eb1942c9
Add ratio method to Size
Co-authored-by: tigerros <tigerros@users.noreply.github.com>
2025-11-24 10:42:57 +01:00
Michael Freeborn
69c7140e12 fix wording 2025-11-21 07:27:46 +00:00
Héctor
a81f0a2459
Merge pull request #2837 from dtzxporter/Expose-setting-to-toggle-vsync-on/off-
Expose setting to disable vsync if requested.
2025-11-21 01:48:21 +01:00
Héctor
0bf00d0f83
Merge pull request #2818 from pml68/feat/rehighlight-on-redraw
Rehighlight TextEditor when Theme changes
2025-11-21 01:22:02 +01:00
Héctor Ramón Jiménez
0495f32918
Use new theme::Base::name for theme change detection 2025-11-21 01:09:40 +01:00
edwloef
a266f62f77
Add some more variants to mouse::Interaction 2025-11-21 00:47:59 +01:00
Héctor Ramón Jiménez
5510675f15
Move some accessibility helpers to Color 2025-11-20 23:46:37 +01:00
Héctor Ramón Jiménez
437a2826ea
Make color helpers in palette module public
Co-authored-by: Vincent Hanquez <vincent@coretype.io>
2025-11-20 23:37:45 +01:00
Héctor Ramón Jiménez
e51d7c723c
Remove Mul<Vector> and Div implementations for Rectangle 2025-11-20 02:07:14 +01:00
Andy Terra
6f9b7a9005
Implement division operation for Rectangle, Size and Vector 2025-11-20 02:01:37 +01:00
Héctor
5195a59e20
Merge pull request #2735 from Exidex/closable-and-minimizable
Add ability to hide close and minimize title bar buttons
2025-11-20 01:23:50 +01:00
rhysd
8f346ac220
Add option to make the transparent window blurry 2025-11-20 01:10:46 +01:00
Héctor
f47e848618
Merge pull request #2696 from edwloef/interaction-docs-fix
fix docs of `Widget::mouse_interaction`
2025-11-19 00:15:50 +01:00
thorn132
3a6f29ce67
Add Hidden variant to mouse::Interaction 2025-11-18 23:44:14 +01:00
Héctor Ramón Jiménez
5b029ae61c
Improve consistency of Padding API 2025-11-18 21:33:13 +01:00
Dominic Clifton
53110f0ede
Add horizontal and vertical padding methods. 2025-11-18 21:26:47 +01:00
Héctor Ramón Jiménez
085c8fae8d
Add screenshot helpers to iced_test 2025-11-12 00:53:10 +01:00
Héctor Ramón Jiménez
54239c55ae
Derive Default implementations wherever possible 2025-10-30 23:46:59 +01:00
Héctor Ramón Jiménez
867fe819c0
Add explicit error handling to image loading 2025-10-28 21:19:25 +01:00
Héctor Ramón Jiménez
7c11ccb046
Move core::Image::clip_bounds to graphics::Image 2025-10-28 19:44:46 +01:00
Héctor Ramón Jiménez
44cfb27e41
Fix cache eviction logic of active image allocations 2025-10-26 09:18:19 +01:00
Héctor Ramón Jiménez
44e68aa4b6
Add border radius support for image 2025-10-25 23:00:25 +02:00