Commit graph

1272 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
a805177b25
Make pin widget Fill parent by default 2024-11-22 04:13:38 +01:00
Héctor Ramón Jiménez
5be1d545d0
Implement pin widget 2024-11-22 04:06:52 +01:00
Héctor Ramón Jiménez
6ccc828607
Use Task::run in download_progress example 2024-11-22 02:14:56 +01:00
Héctor Ramón Jiménez
e5f1e31a5c
Rename Overlay::on_event to update 2024-11-06 00:02:46 +01:00
Héctor Ramón Jiménez
920596ed6f
Implement reactive-rendering for canvas 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
f02bfc3f68
Rename Widget::on_event to update 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
dcc184b01b
Replace event::Status in Widget::on_event with Shell::capture_event 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
752403d70c
Split Shell::request_redraw into two different methods 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
5c33ce18ed
Draft reactive-rendering feature for button 2024-11-05 23:52:56 +01:00
Héctor Ramón Jiménez
ebc4e17ba8
Update wgpu to 23.0 2024-11-05 13:32:14 +01:00
Héctor Ramón Jiménez
f4d03870dd
Dismiss large-enum-variant lint 2024-10-22 03:01:24 +02:00
Kevin Day
ad34f03df4 Modified clock example to make the clock more readable. Added numbers on the clock face and took the portion of the hour passed into consideration for the hour hand. It now looks like a reasonable clock. 2024-10-19 16:12:38 +10:00
Héctor
4a080e27ab
Merge pull request #2606 from tvolk131/qr_code_fixed_size
feat: set total size of QRCode
2024-10-02 17:23:33 +02:00
Héctor Ramón Jiménez
a1e2bd22ec
Simplify total size logic in qr_code example 2024-10-02 17:14:00 +02:00
Tommy Volk
8028a0ddce fix: circular progress no longer skips 2024-09-29 22:17:30 -05:00
Tommy Volk
a949e59f3e feat: set total size of QRCode 2024-09-24 20:57:53 -05:00
Héctor Ramón Jiménez
1383c6a4f7
Fix flex layout of Fill elements in a Shrink cross axis
Instead of collapsing, the `Fill` elements will fill the
cross space allocated by the other `Shrink` elements present
in the container.
2024-09-21 21:14:54 +02:00
Héctor Ramón Jiménez
91c00e4abf
Move wgpu re-export to root module
This seems to fix a `cargo doc` performance issue;
and it makes more sense anyways.
2024-09-20 18:37:17 +02:00
Héctor Ramón Jiménez
a5e69cfb5f
Update wgpu to 22.0 2024-09-20 00:14:47 +02:00
Héctor Ramón Jiménez
aed9a03e3c
Update wgpu to 0.20.1 2024-09-20 00:14:46 +02:00
Héctor Ramón Jiménez
1448c5bfa5
Implement some From traits for text_input::Id 2024-09-18 20:30:14 +02:00
Héctor Ramón Jiménez
7f5b6261c6
Fix unnecessary to_string call in changelog tool 2024-09-18 02:32:05 +02:00
Héctor Ramón Jiménez
0f2cd1108b
Enable image feature in custom_shader example 2024-09-18 02:26:30 +02:00
Héctor Ramón Jiménez
ce5834979c
Fix deserialization of PullRequest with empty body in changelog tool 2024-09-18 02:26:01 +02:00
Héctor Ramón Jiménez
e36e042093
Fix Changed entries considered as Added in changelog tool 2024-09-18 02:24:56 +02:00
Héctor Ramón Jiménez
b3a365f9ca
Fix Changelog::parse when multiple # present in entry 2024-09-18 02:24:22 +02:00
Héctor Ramón Jiménez
ddcf9262f5
Fix duplicated contributions in changelog tool 2024-09-18 02:22:52 +02:00
Héctor Ramón Jiménez
4c9223c1cb
Add tracing-subscriber to changelog tool 2024-09-18 02:22:09 +02:00
Héctor Ramón Jiménez
1be278e60c
Save CHANGELOG.md after each review in changelog tool 2024-09-18 00:21:56 +02:00
Héctor Ramón Jiménez
547e509683
Implement a changelog-generator tool and example 2024-09-17 04:44:56 +02:00
JustSoup321
a497d12320
Fix examples/multitouch dividing by zero 2024-09-13 01:29:35 +02:00
Héctor Ramón Jiménez
6e4970c01a
Add label method to Toggler 2024-09-11 00:22:39 +02:00
Héctor Ramón Jiménez
c741688b4c
Add disabled state and on_toggle handler to Toggler
Co-authored-by: Your Name here only <krishnsundaram@gmail.com>
2024-09-11 00:22:13 +02:00
Skygrango
0053cc03f9
Add index.html to download_progress example 2024-09-10 19:25:20 +02:00
Héctor Ramón Jiménez
1a0bcdb2f6
Fix download_progress and make it work on Wasm
Co-authored-by: Skygrango <skygrango@gmail.com>
2024-09-10 19:24:30 +02:00
Héctor Ramón Jiménez
2829c12d35
Use key_binding in editor example
Fixes #2573.
2024-09-10 16:26:15 +02:00
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