summaryrefslogtreecommitdiffstats
path: root/examples/websocket/src/main.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-02-21Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez1-1/+1
2025-01-06Fix consistency of import orderingLibravatar Héctor Ramón Jiménez1-2/+1
2025-01-06chore: remove once_cell dependencyLibravatar Tommy Volk1-2/+4
2024-07-12Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez1-6/+6
2024-07-12Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez1-10/+3
2024-07-09Remove `load` method from `application` and `daemon`Libravatar Héctor Ramón Jiménez1-14/+13
If you need to run a `Task` during boot, use `run_with` instead!
2024-07-05Hide `Subscription` internalsLibravatar Héctor Ramón Jiménez1-1/+1
.. and introduce `stream::channel` helper
2024-06-19Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez1-1/+1
2024-06-14Replace `Command` with a new `Task` API with chain supportLibravatar Héctor Ramón Jiménez1-11/+11
2024-05-03Auto-focus `text_input` in `websocket` exampleLibravatar Héctor Ramón Jiménez1-2/+7
2024-05-03Introduce `center` widget helperLibravatar Héctor Ramón Jiménez1-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.
2024-04-02Avoid extra text allocations in `websocket` exampleLibravatar Héctor Ramón Jiménez1-2/+2
2024-04-01Reintroduce old `text` helper as `value` helperLibravatar Héctor Ramón Jiménez1-9/+3
2024-04-01Specialize `widget::text` helper with custom `IntoContent` traitLibravatar Héctor Ramón Jiménez1-1/+5
2024-03-17Use `Program` API in `websocket` exampleLibravatar Héctor Ramón Jiménez1-20/+8
2024-03-04Simplify theming for `Text` widgetLibravatar Héctor Ramón Jiménez1-2/+2
2024-01-11Fix `websocket` exampleLibravatar Héctor Ramón Jiménez1-1/+1
2024-01-10Introduce `Widget::size_hint` and fix further layout inconsistenciesLibravatar Héctor Ramón Jiménez1-8/+3
2024-01-04Make `Shrink` have priority over `Fill` in layoutLibravatar Héctor Ramón Jiménez1-2/+0
2023-04-12Rename `on_change` to `on_input` for `TextInput`Libravatar Héctor Ramón Jiménez1-1/+1
2023-04-12Introduce disabled state for `TextInput`Libravatar Dan Mishin1-6/+3
2023-02-27Remove `Fill` variant for `Alignment`Libravatar Héctor Ramón Jiménez1-1/+3
Implementing this generically in our `flex` logic has an exponential cost. Let's explore other options!
2023-01-08Introduce `RelativeOffset` type in `scrollable`Libravatar Héctor Ramón Jiménez1-2/+2
2022-12-29Reworked Scrollable to account for lack of widget order guarantees.Libravatar bungoboingo1-2/+2
Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
2022-12-29Add multidirectional scrolling capabilities to the existing Scrollable.Libravatar Bingus1-2/+5
2022-10-28Use `once_cell` instead of `lazy_static`Libravatar Ian Douglas Scott1-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`).
2022-08-04Implement `scrollable::snap_to` operationLibravatar Héctor Ramón Jiménez1-6/+16
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-31/+28
2022-06-29Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez1-1/+1
2022-05-14Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez1-1/+2
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-01-16Draft `websocket` example :tada:Libravatar Héctor Ramón Jiménez1-0/+162