diff --git a/examples/README.md b/examples/README.md index 8e1b781f..34a916a1 100644 --- a/examples/README.md +++ b/examples/README.md @@ -100,6 +100,7 @@ A bunch of simpler examples exist: - [`geometry`](geometry), a custom widget showcasing how to draw geometry with the `Mesh2D` primitive in [`iced_wgpu`](../wgpu). - [`integration`](integration), a demonstration of how to integrate Iced in an existing graphical application. - [`pane_grid`](pane_grid), a grid of panes that can be split, resized, and reorganized. +- [`pick_list`](pick_list), a dropdown list of selectable options. - [`pokedex`](pokedex), an application that displays a random Pokédex entry (sprite included!) by using the [PokéAPI]. - [`progress_bar`](progress_bar), a simple progress bar that can be filled by using a slider. - [`solar_system`](solar_system), an animated solar system drawn using the `Canvas` widget and showcasing how to compose different transforms. diff --git a/examples/pick_list/README.md b/examples/pick_list/README.md index 4d9fc5b9..6dc80bf4 100644 --- a/examples/pick_list/README.md +++ b/examples/pick_list/README.md @@ -1,18 +1,18 @@ -## Counter +## Pick-list -The classic counter example explained in the [`README`](../../README.md). +A dropdown list of selectable options. + +It displays and positions an overlay based on the window position of the widget. The __[`main`]__ file contains all the code of the example.
- - - +
You can run it with `cargo run`: ``` -cargo run --package counter +cargo run --package pick_list ``` [`main`]: src/main.rs