Commit graph

4281 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
fa53d9adbb
Loosen cross axis constraint for main axis fills in flex layout 2024-01-11 06:11:36 +01:00
Héctor Ramón Jiménez
226271148e
Use multiple squares instead of vertical_space in layout example 2024-01-10 10:08:11 +01:00
Héctor Ramón Jiménez
a6cbc36503
Showcase more layouts in layout example 2024-01-10 10:01:51 +01:00
Héctor Ramón Jiménez
3850a46db6
Add Theme selector to layout example 2024-01-10 10:01:51 +01:00
Héctor Ramón Jiménez
d76705df29
Add explain toggle to layout example 2024-01-10 10:01:51 +01:00
Héctor Ramón Jiménez
5dbded61de
Use flatten instead of filter_map in layout example 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
81ecc4a67f
Add basic controls to layout example 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
a79b2adf5c
Use first-class functions in layout example 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
88f8c343fa
Fix cross calculation in layout::flex 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
025064c9e0
Fix broken doc links in layout::Node API 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
ecf571dfeb
Fix unnecessary into call in Container::new 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
67277fbf93
Make column and row take an IntoIterator 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
e710e76949
Fix size_hint for keyed_column 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d62bb8193c
Introduce useful helpers in layout module 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d24e50c1a6
Reduce padding of scrollable example 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
4bdd8a6279
Fix cross axis calculation in flex layout 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d278bfd21d
Replace width and height with Widget::size 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
22226394f7
Introduce Widget::size_hint and fix further layout inconsistencies 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
0322e820eb
Create layout example 2024-01-10 10:01:41 +01:00
Héctor Ramón
90332acc4b
Merge pull request #2189 from Calastrophe/master
Add functions to fetch if a window is maximized or minimized
2024-01-09 23:29:00 +01:00
Calastrophe
082985ade8 Small documentation typo fixed 2024-01-09 02:43:48 -06:00
Calastrophe
2aa2b1712d Implemented fetch_maximized and fetch_minimized 2024-01-09 02:43:25 -06:00
Héctor Ramón
b083eda663
Fix Svg styling 2024-01-09 02:03:13 +01:00
Héctor Ramón
f5c6fa7338
Merge pull request #2184 from william-shere/master
Fix docs to include missing feature tags
2024-01-05 19:16:06 +01:00
William Shere
6c9dfbf01e Fix doc to include missing feature tags
Helper functions behind `lazy` feature were missing the tag in the documentation.
2024-01-05 13:50:38 +00:00
Héctor Ramón
3f5f99ca6e
Merge pull request #2182 from Imberflur/remove-unused-backend-file
Remove unused backend.rs file in renderer crate
2024-01-05 03:48:06 +01:00
Imbris
b37f8f3e85 Remove backend module in renderer crate that has been unused since https://github.com/iced-rs/iced/pull/1932 2024-01-04 21:36:45 -05:00
Héctor Ramón Jiménez
fd8f980b88
Use max_cross if all elements are fluid in layout::flex 2024-01-04 06:53:07 +01:00
Héctor Ramón Jiménez
aa3c956516
Fix available space provided to children with non-fill main axis but fill cross axis 2024-01-04 06:53:07 +01:00
Héctor Ramón Jiménez
89418c1244
Determine cross-axis max length based on contents if Shrink 2024-01-04 06:53:06 +01:00
Héctor Ramón Jiménez
ed3b393018
Fix needless borrow in row::layout 2024-01-04 06:51:23 +01:00
Héctor Ramón Jiménez
0655a20ad1
Make Shrink have priority over Fill in layout 2024-01-04 06:51:21 +01:00
Héctor Ramón
68c0484b5c
Merge pull request #2168 from jhff/fix/pane_grid_top_edge_click
[Fix] `PaneGrid` click interaction on the top edge
2024-01-04 05:26:12 +01:00
Héctor Ramón Jiménez
2776d46348
Update winit fork to 0.29.8 2024-01-04 05:12:38 +01:00
Héctor Ramón
0172cac949
Merge pull request #2172 from GyulyVGC/master
Added `text_shaping` method to `Tooltip`
2024-01-02 22:42:26 +01:00
Giuliano Bellini s294739
9bbf7822e9 added text::Shaping to Tooltip 2023-12-23 00:17:10 +01:00
Héctor Ramón Jiménez
031784e274
Batch events for processing in iced_winit event loop 2023-12-20 10:03:35 +01:00
Héctor Ramón Jiménez
50a7852cb8
Stop polling in event loop on RedrawRequest::NextFrame 2023-12-20 08:56:57 +01:00
Héctor Ramón Jiménez
e772e5a9e9
Avoid duplicated UserInterface::draw calls in RedrawRequested 2023-12-19 14:54:27 +01:00
Héctor Ramón Jiménez
58494bd033
Pin nightly toolchain to a specific day in document workflow 2023-12-19 12:51:32 +01:00
Héctor Ramón Jiménez
af917a08d8
Fix request redraw event handling for multi-window apps 2023-12-19 12:44:08 +01:00
Héctor Ramón Jiménez
48cebbb22c
Fix redraw request handling in new event loop logic 2023-12-19 12:37:04 +01:00
Héctor Ramón Jiménez
5961030c05
Remove webgl feature in pokedex example 2023-12-15 14:10:33 +01:00
Héctor Ramón Jiménez
1481f0c0a4
Use latest raw-window-handle in iced_core 2023-12-15 14:04:30 +01:00
Héctor Ramón Jiménez
d7dd033861
Ignore raw-window-handle outdated artifact 2023-12-15 13:51:26 +01:00
Héctor Ramón Jiménez
2f11102ecc
Enable rwh_06 feature for winit dependency 2023-12-15 13:46:26 +01:00
Héctor Ramón Jiménez
36073de24e
Fix key_code conversion for character keys 2023-12-15 13:39:03 +01:00
Héctor Ramón Jiménez
e819c2390b
Update winit to 0.29.4 2023-12-15 13:39:00 +01:00
Joao Freitas
116fb666b0
Add deadband distance before initiating drag action on pane grid 2023-12-15 10:29:43 +00:00
hicaru
b54f27d30d added svg hover, for styles impl 2023-12-12 14:02:15 +05:00