Commit graph

578 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
6fbbc30f5c
Implement row::Wrapping widget
If you have a `Row`, simply call `Row::wrap` at
the end to turn it into a `Row` that will wrap its
contents.

The original alignment of the `Row` is preserved
per row wrapped.
2024-08-06 03:22:44 +02:00
Héctor Ramón Jiménez
d4b08462e5
Introduce Svg struct in core::svg 2024-08-04 04:52:55 +02:00
Héctor Ramón Jiménez
3904f0b83a
Remove todo! in core::renderer::null 2024-08-04 04:30:59 +02:00
Héctor Ramón Jiménez
92bd3ecd6b
Introduce Image struct in core::image 2024-08-04 04:30:12 +02:00
Héctor Ramón Jiménez
0ceee1cf3a
Implement image support for canvas widget 2024-08-04 03:28:43 +02:00
Héctor Ramón Jiménez
e84070acef
Implement From<&Handle> for image::Handle 2024-08-03 16:20:12 +02:00
Héctor Ramón Jiménez
ca8ebb16a6
Implement strikethrough support for rich_text spans 2024-07-28 17:45:11 +02:00
Héctor Ramón Jiménez
bf16d1ddcd
Implement underline support for rich_text spans 2024-07-28 15:09:54 +02:00
Héctor Ramón Jiménez
2796a6bc97
Add padding to text::Span 2024-07-28 13:58:14 +02:00
Héctor Ramón Jiménez
f7fe1edcbb
Improve ergonomics of span background highlighting 2024-07-28 13:44:08 +02:00
Cory Forsstrom
ddcf02f9d0
Add background styling to span / rich text 2024-07-28 13:06:57 +02:00
Héctor Ramón Jiménez
555ee3e9c6
Fix lints for Rust 1.80 2024-07-26 11:01:33 +02:00
Héctor Ramón Jiménez
e9e06c8fe2
Add placeholder support to text_editor widget 2024-07-24 14:52:01 +02:00
Héctor Ramón Jiménez
a8c772eb8a
Fix mssing Link generic in From impl for Span 2024-07-23 18:18:11 +02:00
Héctor Ramón Jiménez
65b525af7f
Introduce markdown::Settings 2024-07-21 20:00:02 +02:00
Héctor Ramón Jiménez
9bfaf2840c
Add Link support to rich_text widget 2024-07-21 12:45:05 +02:00
Héctor Ramón Jiménez
c851e67734
Fix text::State downcast in some widgets 2024-07-19 00:59:54 +02:00
Héctor Ramón Jiménez
904704d7c1
Flesh out the markdown example a bit more 2024-07-18 13:14:56 +02:00
Héctor Ramón Jiménez
910eb72a06
Implement rich_text widget and markdown example 2024-07-17 22:04:11 +02:00
Héctor Ramón Jiménez
ffb520fb37
Decouple caching from Paragraph API 2024-07-17 18:50:53 +02:00
Héctor Ramón Jiménez
d9a29f5176
Remove Vector::UNIT constant 2024-07-13 13:41:00 +02:00
Héctor Ramón Jiménez
5e6d994199
Add default and base stylings to text widget 2024-07-13 13:26:37 +02:00
Héctor Ramón Jiménez
a108b2eebe
Add resize_events subscription to window module 2024-07-13 12:53:06 +02:00
Héctor Ramón Jiménez
2513213e89
Add directional border::Radius helpers 2024-07-12 19:35:01 +02:00
Héctor Ramón Jiménez
ab392cee94
Improve Border ergonomics 2024-07-12 19:10:52 +02:00
Héctor Ramón Jiménez
7c3341760d
Improve Padding ergonomics
We expose free functions for creating a `Padding`
and methods with the same name to modify its fields.
2024-07-12 18:43:25 +02:00
Héctor Ramón Jiménez
76737351ea
Re-export variants of Length and alignment types 2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets 2024-07-12 15:14:43 +02:00
Héctor Ramón Jiménez
8ae4e09db9
Add support for embedded scrollbars for scrollable
Co-authored-by: dtzxporter <dtzxporter@users.noreply.github.com>
2024-07-11 08:00:58 +02:00
Héctor Ramón Jiménez
03e8078f42
Add some built-in text styles for each Palette color 2024-07-11 04:57:40 +02:00
PgBiel
76f5bc2cce
add SelectAll to TextEditor 2024-07-08 01:16:31 +02:00
Héctor Ramón
4687bf7f14
Merge pull request #2485 from vladh/add-quad-border-doc
doc: clarify Quad border alignment
2024-06-30 22:57:14 +02:00
Vlad-Stefan Harbuz
10ef48c98a doc: fix "Reconciles" typo 2024-06-30 20:46:04 +01:00
Vlad-Stefan Harbuz
be59ec0ffc doc: clarify Quad border alignment 2024-06-29 21:39:23 +01:00
Héctor Ramón
714d450315
Merge pull request #2469 from iced-rs/unify-shell-runtimes
`Daemon` API and Shell Runtime Unification
2024-06-20 01:23:01 +02:00
Héctor Ramón Jiménez
c5f4bebeda
Remove window::Id::MAIN constant 2024-06-20 01:13:42 +02:00
SolidStateDj
19db068bbb
Implement std::fmt::Display for iced::Radians (#2446)
* Implement `std::fmt::Display` for Radians

* Add ` rad` to the end of all displayed strings.

Co-authored-by: Héctor Ramón <hector0193@gmail.com>

---------

Co-authored-by: Héctor Ramón <hector0193@gmail.com>
2024-06-18 17:02:15 +00:00
Héctor Ramón Jiménez
b21e4567dc
Remove parent from PlatformSpecific window settings 2024-06-14 02:33:05 +02:00
Héctor Ramón Jiménez
4e7cbbf98a
Move Maybe* traits back to iced_futures 2024-06-14 01:57:49 +02:00
Héctor Ramón Jiménez
b328da2c71
Fix Send requirements for Wasm targets 2024-06-14 01:52:30 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support 2024-06-14 01:47:39 +02:00
Héctor Ramón Jiménez
6ea7846d88
Remove core::program module leftover 2024-06-11 20:11:55 +02:00
Héctor Ramón Jiménez
5d7dcf417c
Introduce subscription::Event
... and remove `PlatformSpecific` from `Event`
2024-06-11 19:41:05 +02:00
Héctor Ramón Jiménez
e400f972c1
Introduce window::Id to Event subscriptions
And remove `window::Id` from `Event` altogether.
2024-06-10 22:03:46 +02:00
Héctor Ramón Jiménez
3312dc8080
Create jump and macos_command methods in keyboard::Modifiers 2024-05-31 16:23:09 +02:00
Héctor Ramón Jiménez
07f94d68b5
Update outdated READMEs of subcrates 2024-05-27 13:47:57 +02:00
Héctor Ramón Jiménez
b19e95fa18
Add SpecificWith variant to window::Position 2024-05-10 22:16:35 +02:00
Héctor Ramón Jiménez
fa9e1d96ea
Introduce dynamic opacity support for Image and Svg 2024-05-03 13:25:58 +02:00
Héctor Ramón Jiménez
4010e3983d
Add spin mode to ferris example 🦀 2024-05-03 07:23:55 +02:00
Héctor Ramón Jiménez
eac5bcb64f
Fix Image::bounds when rotation present in iced_graphics 2024-05-03 07:04:57 +02:00