Commit graph

1211 commits

Author SHA1 Message Date
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
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