mtkennerly
65e8fed37d
Allow custom vertical spacing for wrapped rows
2025-03-20 18:38:36 -04:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update
2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
602661372c
Fix new clippy lints
2024-12-02 19:56:27 +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
d40aa6400d
Cull widget draw calls in column and row
2024-10-02 15:45:21 +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
31c42c1d02
Write doc examples for column and row
2024-09-19 06:49:22 +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
76737351ea
Re-export variants of Length and alignment types
2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets
2024-07-12 15:14:43 +02:00
Héctor Ramón
964ae95827
Merge pull request #2460 from Andrew-Schwartz/master
...
Add FromIterator for Row and Column
2024-06-16 22:54:46 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support
2024-06-14 01:47:39 +02:00
Andrew-Schwartz
620c3d3222
format
2024-06-13 14:46:56 -04:00
Andrew-Schwartz
65eb06c537
Add FromIterator for Row and Column
2024-06-12 13:01:04 -04:00
Andrew-Schwartz
1355f8d296
Revert "Add FromIterator for Row and Column"
...
This reverts commit 06c80c5bce .
2024-06-12 13:00:02 -04:00
Andrew-Schwartz
06c80c5bce
Add FromIterator for Row and Column
2024-06-12 10:54:50 -04:00
Héctor Ramón Jiménez
db4b03a659
Use Iterator::size_hint to initialize Column and Row capacity
2024-04-01 16:08:42 +02:00
Héctor Ramón Jiménez
01fbd5049d
Fix Column and Row fluidity being overridden by push
2024-02-27 01:21:02 +01:00
Héctor Ramón Jiménez
e60dabddef
Add from_vec method to Column and Row
2024-02-19 08:49:28 +01:00
Héctor Ramón Jiménez
9f0bbf6020
Add extend method to Column and Row
2024-02-19 08:42:58 +01:00
Héctor Ramón Jiménez
feab96f323
Add push_maybe to Column and Row
2024-02-15 02:38:07 +01:00
Héctor Ramón Jiménez
a73386f68e
Add clip property to Button
2024-02-15 01:35:55 +01:00
Héctor Ramón Jiménez
96775b1e55
Add clip property to Container, Column, and Row
2024-02-15 01:18:00 +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 Jiménez
67277fbf93
Make column and row take an IntoIterator
2024-01-10 10:01:50 +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 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 Jiménez
936d480267
Clip text to viewport bounds instead of layout bounds
2023-12-01 16:04:27 +01: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
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
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
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase
2023-03-04 05:37:11 +01:00