Héctor Ramón Jiménez
fdf046daff
Implement reactive-rendering for pick_list
2024-11-05 23:52:57 +01:00
Héctor Ramón Jiménez
46017c6483
Implement reactive-rendering for toggler
2024-11-05 23:52:57 +01:00
Héctor Ramón Jiménez
0c77702187
Implement reactive-rendering for radio
2024-11-05 23:52:57 +01:00
Héctor Ramón Jiménez
f6c322f2f9
Implement reactive-rendering for checkbox
2024-11-05 23:52:57 +01:00
Héctor Ramón Jiménez
52490397d6
Implement reactive-rendering for text_input
...
... and fix the redraw queue logic in `iced_winit`.
2024-11-05 23:52:56 +01:00
Héctor Ramón Jiménez
3ba7c71e3f
Implement reactive-rendering for slider
2024-11-05 23:52:56 +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
d08bc6e45d
Add relabel helper to pane_grid::State
2024-10-24 14:17:38 +02:00
Héctor Ramón Jiménez
55504ffcd4
Rename state::Widget to pane_grid::Memory
2024-10-24 13:55:04 +02:00
Héctor Ramón Jiménez
089e629f41
Fix responsive diffing when Tree is emptied by ancestors
2024-10-24 13:48:42 +02:00
Héctor Ramón Jiménez
659669dd58
Remove duplicated maximized state in pane_grid
2024-10-24 13:48:34 +02:00
Cory Forsstrom
5ebd8ac83f
Keep Pane associated to state / layout after swap
...
State continuity is dependent on keeping a node associated
to it's original `Pane` id. When splitting -> swapping
nodes, we need to assign it back to the original `Pane`
to enforce continuity.
2024-10-24 13:05:42 +02:00
Cory Forsstrom
9ac3318357
Retain widget state against incoming panes
...
We can associate each state with a `Pane` and compare
that against the new panes to remove states w/ respective
panes which no longer exist.
Because we always increment `Pane`, new states are always
added to the end, so this retain + add new state approach
will ensure continuity when panes are added & removed
2024-10-24 13:05:42 +02:00
Cory Forsstrom
415fd4f643
Use BTreeMap for Ord iteration of panes
...
This ensures continuity in how panes are iterated on
when building widget state
2024-10-24 13:05:42 +02:00
Michelle Granat
ab2adb11be
Update button Catalog and Style documentation ( #2590 )
...
* Update button Catalog and Style documentation
* Clarified button documentation
* fix code typo
* Run `cargo fmt`
* Fixed docs to pass tests
---------
Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
2024-10-17 04:29:31 +00:00
Héctor Ramón Jiménez
4e0a63091c
Fix new elided lifetime lint in the beta toolchain
2024-10-17 06:14:30 +02:00
Héctor
c01ef5bdbb
Merge pull request #2632 from leo030303/fix_delete_key_bug
...
Fixed bug where delete key wasn't working in the text editor
2024-10-14 21:16:42 +02:00
Leo Ring
da1331169c
Fix Binding::Delete not triggering in text_editor
2024-10-14 21:07:08 +02:00
BradySimon
f912d26d64
Add PartialEq derives for widget styles
2024-10-14 20:59:32 +02:00
Héctor Ramón Jiménez
c217500a5a
Fix mouse::Cursor fighting in stack widget
2024-10-04 17:33:38 +02:00
Héctor Ramón Jiménez
d057b16153
Fix responsive, component, and lazy always returning an overlay
2024-10-04 17:13:44 +02:00
Héctor Ramón Jiménez
fca5d8038a
Implement Overlay::operate for responsive::Overlay
2024-10-04 16:58:05 +02:00
Héctor
bc215f6077
Merge pull request #2623 from boondocklabs/markdown-lifetime
...
Change lifetime of markdown IntoIterator Item, as it does not need to live as long as the returned Element
2024-10-02 18:08:11 +02: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
d5f278b31d
Merge pull request #2611 from tarkah/fix/ignore-out-of-viewport-text
...
Don't fill out of viewport text
2024-10-02 17:21:22 +02:00
Héctor Ramón Jiménez
b02ec8b6b2
Make cell_size and total_size generic over Pixels in qr_code
2024-10-02 17:14:03 +02:00
Héctor Ramón Jiménez
d40aa6400d
Cull widget draw calls in column and row
2024-10-02 15:45:21 +02:00
Matt Thompson
8d66b97888
Change lifetime of markdown view IntoIterator Item, as it does not need to live as long as the returned Element.
2024-10-01 19:30:10 -07:00
bbb651
7a86900a45
Fix various typos
...
Using https://github.com/crate-ci/typos
2024-09-29 16:37:35 +03:00
Tommy Volk
a949e59f3e
feat: set total size of QRCode
2024-09-24 20:57:53 -05:00
7sDream
75548373a7
Add support for double click event to MouseArea ( #2602 )
...
* feat(widget/mouse_area): add double_click event
* Run `cargo fmt`
---------
Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
2024-09-24 21:05:17 +00:00
Héctor Ramón Jiménez
6d1ecb79e3
Replace Rc with Arc for markdown caching
2024-09-21 22:27:49 +02:00
mtkennerly
05d5e0739d
Fix layout for wrapped row with spacing
2024-09-20 22:15:03 -04: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
6bed89973d
Merge pull request #2586 from lufte/master
...
Set the text color determined by the style function
2024-09-19 06:59:27 +02:00
Héctor Ramón
ddbb8445bf
Merge pull request #2587 from iced-rs/improve-api-reference
...
Add widget examples to API reference and update `README`
2024-09-19 06:59:05 +02:00
Héctor Ramón Jiménez
1f8dc1f3dd
Fix mouse_area not notifying of mouse move events
2024-09-19 06:57:07 +02:00
Héctor Ramón Jiménez
31c42c1d02
Write doc examples for column and row
2024-09-19 06:49:22 +02:00
Héctor Ramón Jiménez
cda1369c79
Write doc examples for rich_text widget
2024-09-19 06:38:48 +02:00
Héctor Ramón Jiménez
4e38992636
Show tooltip doc example in multiple places
2024-09-19 06:27:54 +02:00
Héctor Ramón Jiménez
22fbb9c221
Show toggler doc example in multiple places
2024-09-19 06:22:09 +02:00
Héctor Ramón Jiménez
e0c55cbb19
Show text_input doc example in multiple places
2024-09-19 06:18:00 +02:00
Héctor Ramón Jiménez
184ebebfe1
Show text_editor example in multiple places
2024-09-19 06:14:56 +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
9773631354
Show svg doc example in multiple places
2024-09-19 05:45:40 +02:00
Héctor Ramón Jiménez
10fa40a85f
Show slider doc example in multiple places
2024-09-19 05:42:21 +02:00
Héctor Ramón Jiménez
94f0e0a212
Show scrollable doc example in multiple places
2024-09-19 05:30:12 +02:00
Héctor Ramón Jiménez
24fcc57873
Show rule doc example in multiple places
2024-09-19 05:19:54 +02:00
Héctor Ramón Jiménez
b778d5cd56
Show radio doc example in multiple places
2024-09-19 05:14:17 +02:00
Héctor Ramón Jiménez
1595e78b1a
Show qr_code doc example in multiple places
2024-09-19 05:05:09 +02:00