summaryrefslogtreecommitdiffstats
path: root/examples/websocket/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez2025-02-211-1/+1
|
* Fix consistency of import orderingLibravatar Héctor Ramón Jiménez2025-01-061-2/+1
|
* chore: remove once_cell dependencyLibravatar Tommy Volk2025-01-061-2/+4
|
* Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez2024-07-121-6/+6
|
* Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez2024-07-121-10/+3
|
* Remove `load` method from `application` and `daemon`Libravatar Héctor Ramón Jiménez2024-07-091-14/+13
| | | | | If you need to run a `Task` during boot, use `run_with` instead!
* Hide `Subscription` internalsLibravatar Héctor Ramón Jiménez2024-07-051-1/+1
| | | | .. and introduce `stream::channel` helper
* Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez2024-06-191-1/+1
|
* Replace `Command` with a new `Task` API with chain supportLibravatar Héctor Ramón Jiménez2024-06-141-11/+11
|
* Auto-focus `text_input` in `websocket` exampleLibravatar Héctor Ramón Jiménez2024-05-031-2/+7
|
* Introduce `center` widget helperLibravatar Héctor Ramón Jiménez2024-05-031-8/+2
| | | | | | | | ... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result.
* Avoid extra text allocations in `websocket` exampleLibravatar Héctor Ramón Jiménez2024-04-021-2/+2
|
* Reintroduce old `text` helper as `value` helperLibravatar Héctor Ramón Jiménez2024-04-011-9/+3
|
* Specialize `widget::text` helper with custom `IntoContent` traitLibravatar Héctor Ramón Jiménez2024-04-011-1/+5
|
* Use `Program` API in `websocket` exampleLibravatar Héctor Ramón Jiménez2024-03-171-20/+8
|
* Simplify theming for `Text` widgetLibravatar Héctor Ramón Jiménez2024-03-041-2/+2
|
* Fix `websocket` exampleLibravatar Héctor Ramón Jiménez2024-01-111-1/+1
|
* Introduce `Widget::size_hint` and fix further layout inconsistenciesLibravatar Héctor Ramón Jiménez2024-01-101-8/+3
|
* Make `Shrink` have priority over `Fill` in layoutLibravatar Héctor Ramón Jiménez2024-01-041-2/+0
|
* Rename `on_change` to `on_input` for `TextInput`Libravatar Héctor Ramón Jiménez2023-04-121-1/+1
|
* Introduce disabled state for `TextInput`Libravatar Dan Mishin2023-04-121-6/+3
|
* Remove `Fill` variant for `Alignment`Libravatar Héctor Ramón Jiménez2023-02-271-1/+3
| | | | | Implementing this generically in our `flex` logic has an exponential cost. Let's explore other options!
* Introduce `RelativeOffset` type in `scrollable`Libravatar Héctor Ramón Jiménez2023-01-081-2/+2
|
* Reworked Scrollable to account for lack of widget order guarantees.Libravatar bungoboingo2022-12-291-2/+2
| | | | Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
* Add multidirectional scrolling capabilities to the existing Scrollable.Libravatar Bingus2022-12-291-2/+5
|
* Use `once_cell` instead of `lazy_static`Libravatar Ian Douglas Scott2022-10-281-3/+2
| | | | | | 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`).
* Implement `scrollable::snap_to` operationLibravatar Héctor Ramón Jiménez2022-08-041-6/+16
|
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-31/+28
|
* Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez2022-06-291-1/+1
|
* Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez2022-05-141-1/+2
| | | | RFC: https://github.com/iced-rs/rfcs/pull/6
* Draft `websocket` example :tada:Libravatar Héctor Ramón Jiménez2022-01-161-0/+162