Commit graph

27 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
df85d85a6f
Allow dead_code in widget::lazy::cache 2024-06-11 20:07:06 +02:00
Héctor Ramón Jiménez
e812276677
Fix layout invalidation for Responsive widget 2024-03-21 00:37:11 +01:00
Héctor Ramón Jiménez
cd2130a69a
Add size_hint method to Component trait
This can be used to aid the sizing strategy of
some containers directly in the component definition,
instead of stating the sizes explicitly in `view`
logic.
2024-02-21 08:24:08 +01:00
Héctor Ramón Jiménez
e8049af23d
Make horizontal_space and vertical_space fill by default 2024-02-15 02:08:22 +01:00
Héctor Ramón Jiménez
738aa47547
Remove position from overlay::Element 2024-02-01 01:08:21 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type 2024-01-21 17:56:01 +01:00
Héctor Ramón
50c310fd9f
Merge pull request #2192 from iced-rs/fix/layout-inconsistencies
Layout consistency
2024-01-12 14:41:40 +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
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 Jiménez
25006b9c6f
Fix Overlay composition
Translations were not easily composable.
2023-11-21 14:41:22 +01:00
Héctor Ramón Jiménez
1e4bade53a
Fix clippy::redundant-closure-for-method-calls 2023-09-20 05:07:34 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned 2023-09-20 04:11:52 +02:00
Héctor Ramón Jiménez
548b9d0294
Fix Widget::layout for Component 2023-09-01 04:15:09 +02:00
Héctor Ramón Jiménez
a026e917d3
Make widget::Tree mutable in Widget::layout 2023-08-30 06:36:24 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree 2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
e2ba7ece83
Introduce visible_bounds operation for Container 2023-07-27 01:04:18 +02:00
Cory Forsstrom
42c423b4a8 Add viewport to Widget::on_event 2023-07-15 10:04:25 -07:00
Nick Senger
4c2aa071a0 fix: request redraw in component overlay 2023-07-09 12:46:43 -07:00
Cory Forsstrom
b0205e03d8
Use nested for lazy widgets 2023-06-14 11:03:41 +02:00
Cory Forsstrom
55dc3b5619
Introduce internal overlay::Nested for UserInterface 2023-06-14 09:25:30 +02:00
Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability 2023-06-08 20:11:59 +02:00
Héctor Ramón Jiménez
0b504bec8a
Invalidate Responsive layout when size changes without a view call 2023-06-01 04:59:49 +02:00
Héctor Ramón Jiménez
b60194844a
Write missing documentation in iced_widget 2023-05-11 15:40:57 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text 2023-05-02 06:40:48 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00