summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-16 04:30:06 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-16 04:30:06 +0200
commit73d1353976e508d918206e2f61b6f45f551e0ff8 (patch)
tree63f8d65538e65563b43efc9385d4c11b3221bdb8 /examples
parent26fbc9af0097f7f912c554b3a1e0281678bb4823 (diff)
downloadiced-73d1353976e508d918206e2f61b6f45f551e0ff8.tar.gz
iced-73d1353976e508d918206e2f61b6f45f551e0ff8.tar.bz2
iced-73d1353976e508d918206e2f61b6f45f551e0ff8.zip
Update `README` of examples
Diffstat (limited to 'examples')
-rw-r--r--examples/README.md1
-rw-r--r--examples/pick_list/README.md12
2 files changed, 7 insertions, 6 deletions
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.
<div align="center">
- <a href="https://gfycat.com/fairdeadcatbird">
- <img src="https://thumbs.gfycat.com/FairDeadCatbird-small.gif">
- </a>
+ <img src="https://user-images.githubusercontent.com/518289/87125075-2c232e80-c28a-11ea-95c2-769c610b8843.gif">
</div>
You can run it with `cargo run`:
```
-cargo run --package counter
+cargo run --package pick_list
```
[`main`]: src/main.rs