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
Héctor Ramón Jiménez
c5f4bebeda
Remove window::Id::MAIN constant
2024-06-20 01:13:42 +02:00
Héctor Ramón Jiménez
341c9a3c12
Introduce daemon API and unify shell runtimes
2024-06-19 01:53:40 +02:00
Héctor Ramón Jiménez
e9141e7abf
Rename Step to Screen in tour example
2024-06-16 23:18:45 +02:00
Héctor Ramón Jiménez
e0b4ddf7b7
Flatten state in tour example
2024-06-16 23:15:12 +02:00
Héctor Ramón Jiménez
b5c5a016c4
Rename window::closings to window::close_events
2024-06-16 20:15:55 +02:00
Héctor Ramón Jiménez
7f13fab058
Use all themes in multi_window example
2024-06-14 03:15:14 +02:00
Héctor Ramón Jiménez
20945e3f90
Simplify WindowOpened message handler in multi_window example
2024-06-14 03:11:07 +02:00
Héctor Ramón Jiménez
88b9384402
Use Task chaining to simplify multi_window example
2024-06-14 03:05:58 +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
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
12f4b875cf
Link to the latest branch in examples' README
2024-05-27 21:44:44 +02:00
Héctor Ramón Jiménez
d8ba6b0673
Merge branch 'master' into feat/text-macro
2024-05-23 13:29:45 +02:00
Héctor Ramón Jiménez
d92e0f7bba
Fix compilation of integration example in release mode
...
Fixes #2447 .
2024-05-22 12:29:31 +02:00
Héctor Ramón
d993b53e09
Merge pull request #2421 from skygrango/wasm/update-clock-example
...
Fix `clock` example doesn't get the correct local time under unix system
2024-05-18 11:44:12 +02:00
Héctor Ramón Jiménez
4936efc375
Remove redundant default chrono feature in clock example
2024-05-18 11:32:26 +02:00
Héctor Ramón Jiménez
d265cc133e
Simplify clock example a bit
2024-05-18 11:29:41 +02:00
Héctor Ramón Jiménez
a90b1fba89
Merge branch 'master' into beacon
2024-05-14 20:10:29 +02:00
Héctor Ramón Jiménez
05f69f495e
Ask for explicit Length in center_* methods
2024-05-13 17:56:02 +02:00
Héctor Ramón Jiménez
aaf396256e
Merge branch 'master' into beacon
2024-05-09 12:32:25 +02:00
Héctor Ramón Jiménez
2645524f88
Update winit to 0.30
2024-05-07 16:07:56 +02:00
Héctor Ramón Jiménez
547446f0de
Fix windows fighting over shared image::Cache
...
Image caches are local to each window now.
2024-05-06 12:23:44 +02:00
Héctor Ramón Jiménez
afb4cb99b9
Improve layout of ferris example 🦀
2024-05-03 13:32:51 +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
4c658c41e9
Auto-focus text_input in websocket example
2024-05-03 09:25:47 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
...
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.
This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00