summaryrefslogtreecommitdiffstats
path: root/examples/pick_list/README.md
blob: 6dc80bf46db72eb04b92529f0103f74d4fcc68a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Pick-list

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">
  <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 pick_list
```

[`main`]: src/main.rs