Héctor Ramón Jiménez
acb9321296
Use Program API in websocket example
2024-03-17 18:40:27 +01:00
Héctor Ramón Jiménez
4130ae4be9
Simplify theming for Text widget
2024-03-04 19:32:13 +01:00
Héctor Ramón Jiménez
11474bdc3e
Fix websocket example
2024-01-11 06:12:37 +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
0655a20ad1
Make Shrink have priority over Fill in layout
2024-01-04 06:51:21 +01:00
Héctor Ramón Jiménez
f8f1a86344
Fix clippy::manual_let_else
2023-09-20 05:30:08 +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
e6a93e960c
Rename on_change to on_input for TextInput
2023-04-12 04:19:45 +02:00
Dan Mishin
f10e936f00
Introduce disabled state for TextInput
2023-04-12 03:55:18 +02:00
Héctor Ramón Jiménez
0ed54346b0
Use Result::is_err in websocket example
2023-04-11 07:53:26 +02:00
Héctor Ramón Jiménez
5908205a62
Use 127.0.0.1 instead of localhost in websocket example
2023-04-11 07:48:30 +02:00
Héctor Ramón Jiménez
ae7e6b3d48
Implement subscription::channel and simplify unfold
2023-04-11 07:46:54 +02:00
Héctor Ramón Jiménez
aa4b5bb6b9
Merge branch 'master' into feature/software-renderer
2023-03-07 07:24:34 +01:00
Héctor Ramón Jiménez
f4cf488e0b
Remove generic Hasher and Event from subscription::Recipe
2023-03-05 04:15:10 +01:00
Héctor Ramón Jiménez
9e815cb749
Remove Fill variant for Alignment
...
Implementing this generically in our `flex` logic has an exponential
cost. Let's explore other options!
2023-02-27 16:54:28 +01:00
13r0ck
42b1bfe66d
Fix: Clippy lint 'uninlined_format_args'
2023-01-27 14:02:48 -07:00
Héctor Ramón Jiménez
624a4ada79
Introduce RelativeOffset type in scrollable
2023-01-08 20:07:11 +01:00
bungoboingo
9f85e0c721
Reworked Scrollable to account for lack of widget order guarantees.
...
Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
2022-12-29 18:29:15 -08:00
Bingus
d91f4f6aa7
Add multidirectional scrolling capabilities to the existing Scrollable.
2022-12-29 10:21:23 -08:00
Ian Douglas Scott
be9cd3a09f
Use once_cell instead of lazy_static
...
This seems to be generally considered the preferred, idiomatic solution
now. This is in the standard library behind a feature flag (apparently
now called `std::sync::LazyLock`).
2022-10-28 15:58:21 -07:00
Héctor Ramón Jiménez
13dd1ca0a8
Implement scrollable::snap_to operation
2022-08-04 03:55:41 +02:00
Héctor Ramón Jiménez
a1c5f8839d
Use ToString for Text::new instead of Into<String>
2022-07-27 06:56:09 +02:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API
2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
...
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
1dd1a2f97f
Introduce StyleSheet for Text widget
2022-06-29 10:51:01 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
dc50a2830a
Draft websocket example 🎉
2022-01-16 15:50:19 +07:00