Héctor Ramón
b3b76ed42f
Merge pull request #2549 from JL710/patch-3
...
Remove out of date comment from custom-widget example
2024-09-07 23:05:28 +02:00
Héctor Ramón Jiménez
9426418adb
Deprecate the component widget
2024-09-05 15:08:31 +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
043f030214
Merge pull request #2535 from bungoboingo/text-input-alignment
...
Implement `align_x` for `TextInput`
2024-08-24 02:44:55 +02:00
Shan
6c741923c6
Implement align_x for TextInput
...
Co-authored-by: Shan <shankern@protonmail.com>
2024-08-24 02:36:18 +02:00
Héctor Ramón
84e766fd00
Merge pull request #2555 from mtkennerly/feature/pane-grid-compact-controls
...
Add compact variant for pane grid controls
2024-08-24 01:58:53 +02:00
mtkennerly
3a434c9505
Add compact variant for pane grid controls
2024-08-22 12:43:48 -04:00
Héctor Ramón Jiménez
4c883f12b4
Make RichText generic over data structure
...
... and decouple `markdown::parse` from theming
2024-08-22 02:24:06 +02:00
Héctor Ramón Jiménez
9ed7fb8866
Fix cursor passthrough in Stack during draw
2024-08-14 18:02:33 +02:00
JL710
d6ae1fca67
Remove out of date comment from custom-widget example
2024-08-14 08:40:22 +02:00
Héctor Ramón Jiménez
8b45d620d0
Revert window::close producing a window::Id
...
Instead, subscribing to `window::close_events` is
preferable; since most use cases will want to react
to the user closing a window as well.
2024-08-12 05:50:22 +02:00
Héctor Ramón Jiménez
01aa84e41a
Make window::close return and introduce Task::discard
2024-08-12 05:12:42 +02:00
Héctor Ramón
8e87d664d4
Merge pull request #2547 from meithecatte/do-not-segfault
...
iced_winit: drop Clipboard before Window
2024-08-12 03:18:48 +02:00
Héctor Ramón Jiménez
afa8ad3b11
Fix integration example
2024-08-12 03:10:46 +02:00
Héctor Ramón
6d6f354b42
Merge pull request #2536 from meithecatte/editor-clipping
...
text_editor: Avoid rendering text outside the border
2024-08-12 03:07:36 +02:00
Héctor Ramón Jiménez
373e887a58
Focus text_editor at start-up in editor example
2024-08-12 02:55:49 +02:00
Héctor Ramón Jiménez
422568dee4
Introduce black_box and chain in widget::operation
2024-08-08 01:25:00 +02:00
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
cc076903dd
Invert Earth's rotation in solar_system example
2024-08-04 14:38:42 +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
2ad3cff722
Increase Earth's spin a bit in solar_system example
2024-08-04 03:37:50 +02:00
Héctor Ramón Jiménez
ed959023e9
Remove unnecessary with_save calls in solar_system example
2024-08-04 03:36:05 +02:00
Héctor Ramón Jiménez
4f5de3bbe9
Showcase canvas image support in solar_system example
2024-08-04 03:29:06 +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
fd593f8fb0
Return window::Id in window::open
2024-07-30 22:26:55 +02:00
Héctor Ramón Jiménez
16212eaf52
Simplify highlight method for text_editor widget
2024-07-28 23:59:51 +02:00
Héctor Ramón Jiménez
1aa0a8fa0d
Enable Markdown highlighting in markdown example
2024-07-28 19:18:11 +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
faa5d0c58d
Unify Link and Message generics in text::Rich
2024-07-24 10:12:33 +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
f830454ffa
Use url for markdown links
2024-07-21 18:16:32 +02:00
Héctor Ramón Jiménez
a2943798a3
Use open::that_in_background in markdown example
2024-07-21 14:10:39 +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
05884870fc
Make container::Style API more consistent
2024-07-20 15:53:50 +02:00
Héctor Ramón Jiménez
1d1a5f1a28
Fix newlines in highlighter and markdown example
2024-07-18 22:55:40 +02:00
Héctor Ramón Jiménez
06acb740fb
Return proper theme in markdown example
2024-07-18 15:14:54 +02:00
Héctor Ramón Jiménez
47b7a36f36
Create markdown widget helpers in iced_widget
2024-07-18 14:34:00 +02:00
Héctor Ramón Jiménez
aa62fa2ce9
Adapt scrollable sizing strategy to contents
2024-07-18 13:22:53 +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
b518e30610
Fix Scrollable::spacing not embedding the Scrollbar
2024-07-16 19:05:46 +02:00
Héctor Ramón Jiménez
3f480d3d18
Rename embed_* in Scrollable to simply spacing
2024-07-12 20:00:14 +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
5e6c9eeb7e
Add iced widget helper to display the iced logo ☄️
2024-07-11 04:33:19 +02:00
Héctor Ramón Jiménez
e86920be5b
Remove load method from application and daemon
...
If you need to run a `Task` during boot, use
`run_with` instead!
2024-07-09 00:28:40 +02:00
Héctor Ramón Jiménez
8bc49cd886
Hide Subscription internals
...
.. and introduce `stream::channel` helper
2024-07-05 02:16:45 +02:00