Andrew Baldwin
|
c82f97c8c9
|
Add font_maybe to Text.
|
2025-11-24 12:52:59 -08:00 |
|
Héctor Ramón Jiménez
|
5796ba272e
|
Remove missing_debug_implementations lint
|
2025-09-12 05:25:09 +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
|
0857eb3bde
|
Improve contrast of built-in themes by leveraging Oklch
|
2025-08-05 10:01:01 +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
|
6bf709e03e
|
Make anchoring explicit and improve reusability of text pipelines
|
2025-05-04 03:54:42 +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
|
0e4a392731
|
Introduce text::Alignment with Justified support
|
2025-03-11 02:30:50 +01:00 |
|
Héctor Ramón Jiménez
|
179a34d37b
|
Fix horizontal text alignment
|
2025-03-11 00:43:51 +01:00 |
|
Héctor Ramón Jiménez
|
67e489e382
|
Update to Rust 2024 and fix compiler errors
|
2025-02-21 01:37:13 +01:00 |
|
Héctor Ramón Jiménez
|
cb30f9f604
|
Remove dbg! leftover in core::widget::text
|
2024-12-10 04:51:08 +01:00 |
|
Héctor Ramón Jiménez
|
d09d5d45ae
|
Draft iced_test crate and test todos example
|
2024-12-10 04:51:08 +01:00 |
|
Héctor Ramón Jiménez
|
602661372c
|
Fix new clippy lints
|
2024-12-02 19:56:27 +01:00 |
|
BradySimon
|
f912d26d64
|
Add PartialEq derives for widget styles
|
2024-10-14 20:59:32 +02:00 |
|
Héctor Ramón Jiménez
|
6ad7c7d308
|
Show text doc examples in multiple places
|
2024-09-19 06:10:44 +02:00 |
|
Héctor Ramón Jiménez
|
f98328f4f1
|
Add text::Wrapping support
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
|
2024-09-04 21:26:47 +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
|
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
|
5e6d994199
|
Add default and base stylings to text widget
|
2024-07-13 13:26:37 +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
|
03e8078f42
|
Add some built-in text styles for each Palette color
|
2024-07-11 04:57:40 +02:00 |
|
Héctor Ramón Jiménez
|
99a904112c
|
Implement IntoFragment for Fragment
|
2024-04-02 10:09:13 +02:00 |
|
Héctor Ramón Jiménez
|
dee43d5f66
|
Implement IntoFragment for usize and isize
|
2024-04-02 09:24:22 +02:00 |
|
Héctor Ramón Jiménez
|
34f799aa3d
|
Rename text::IntoContent to IntoFragment
|
2024-04-01 21:48:47 +02:00 |
|
Héctor Ramón Jiménez
|
1d83e59e8a
|
Specialize widget::text helper with custom IntoContent trait
|
2024-04-01 21:36:08 +02:00 |
|
Héctor Ramón Jiménez
|
f0ae9a0c38
|
Use Catalog approach for all widgets
|
2024-03-24 05:03:09 +01:00 |
|
Héctor Ramón Jiménez
|
aeb72d528f
|
Use closures for Text::style
|
2024-03-12 14:35:55 +01:00 |
|
rustrover
|
500ba962d1
|
fix some comments
Signed-off-by: rustrover <seekseat@126.com>
|
2024-03-09 15:26:37 +08:00 |
|
Héctor Ramón Jiménez
|
8919f2593e
|
Clarify docs of Text::color_maybe
|
2024-03-08 13:51:34 +01:00 |
|
Héctor Ramón Jiménez
|
34e7c6593a
|
Use Style struct pattern instead of trait for all widgets
|
2024-03-06 20:30:58 +01:00 |
|
Héctor Ramón Jiménez
|
4130ae4be9
|
Simplify theming for Text widget
|
2024-03-04 19:32:13 +01:00 |
|
Héctor Ramón Jiménez
|
7a50e9e8fb
|
Convert Renderer::Theme to generic Widget type
|
2024-01-21 17:56:01 +01:00 |
|
Héctor Ramón Jiménez
|
d62bb8193c
|
Introduce useful helpers in layout module
|
2024-01-10 10:01:49 +01:00 |
|
Héctor Ramón Jiménez
|
d278bfd21d
|
Replace width and height with Widget::size
|
2024-01-10 10:01:49 +01:00 |
|
Héctor Ramón Jiménez
|
0655a20ad1
|
Make Shrink have priority over Fill in layout
|
2024-01-04 06:51:21 +01:00 |
|
Héctor Ramón Jiménez
|
936d480267
|
Clip text to viewport bounds instead of layout bounds
|
2023-12-01 16:04:27 +01:00 |
|
Héctor Ramón Jiménez
|
6582387579
|
Merge branch 'master' into text-editor
|
2023-10-27 03:58:45 +02:00 |
|
Yuri Astrakhan
|
efd0ff6ded
|
Chore: Apply some minor clippy fixes
* Use `.elapsed()` for duration
* Use direct iteration without calling `.iter()` and the like
* order fields in the `Text` struct creation as declared
|
2023-09-19 01:52:25 -04:00 |
|
Héctor Ramón Jiménez
|
346af3f8b0
|
Make FontSystem global and simplify Paragraph API
|
2023-09-11 02:47:24 +02:00 |
|
Héctor Ramón Jiménez
|
b51ffe53ed
|
Fix unnecessary dereference in widget::text
|
2023-08-30 06:44:40 +02:00 |
|
Héctor Ramón Jiménez
|
a026e917d3
|
Make widget::Tree mutable in Widget::layout
|
2023-08-30 06:36:24 +02:00 |
|
Héctor Ramón Jiménez
|
ed3454301e
|
Implement explicit text caching in the widget state tree
|
2023-08-30 04:31:21 +02:00 |
|
Héctor Ramón Jiménez
|
78ad365db2
|
Reuse entries in text::Cache in iced_wgpu
|
2023-06-28 00:35:37 +02:00 |
|
Héctor Ramón Jiménez
|
34451bff18
|
Implement basic cursor availability
|
2023-06-08 20:11:59 +02:00 |
|
Héctor Ramón Jiménez
|
16bf8fc762
|
Export Shaping and LineHeight in widget::text
|
2023-05-08 15:37:29 +02:00 |
|
Héctor Ramón Jiménez
|
9499a8f9e6
|
Support configurable LineHeight in text widgets
|
2023-05-04 18:39:31 +02:00 |
|
Héctor Ramón Jiménez
|
4bd290afe7
|
Introduce text::Shaping enum and replace magic boolean
|
2023-05-02 01:02:32 +02:00 |
|
Héctor Ramón Jiménez
|
33b5a90019
|
Make basic text shaping the default shaping strategy
|
2023-05-02 01:02:13 +02:00 |
|