Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make demo a bit more mobile friendly (#44)
1. Change `ui.horizontal()` to `ui.horizontal_wrapped()` for the `PlotDemo` selector so it doesn't go off screen. 2. Wrap several of the demo's "settings" UI's in a `ScrollArea::horizontal`s so they don't go off screen and make the plots go off screen as well. 3. Wrap the plots in the LinkedAxes demo in a `ScrollArea::horizontal` so they don't go off screen. # Before and after screenshots ## Lines Before: <img width="392" alt="Screenshot 2024-09-09 at 7 15 24 PM" src="https://github.com/user-attachments/assets/23063cfe-04bd-4e76-9158-7b6cbaf4f2bf"> After: <img width="398" alt="Screenshot 2024-09-09 at 7 17 13 PM" src="https://github.com/user-attachments/assets/7285dcea-4434-4b5b-b9bc-7cae330de703"> ## Legend Before: <img width="319" alt="Screenshot 2024-09-09 at 7 43 05 PM" src="https://github.com/user-attachments/assets/84a6b78a-dc9e-42df-be3b-cf26d54af848"> After: <img width="315" alt="Screenshot 2024-09-09 at 7 22 37 PM" src="https://github.com/user-attachments/assets/d2225e97-d321-4af0-8f60-4d2591aea17b"> ## Charts Before: <img width="320" alt="Screenshot 2024-09-09 at 7 43 12 PM" src="https://github.com/user-attachments/assets/90b1c287-6b44-42c3-b8f1-417d5c367a4a"> After: <img width="318" alt="Screenshot 2024-09-09 at 7 25 15 PM" src="https://github.com/user-attachments/assets/31793d79-dbb5-42c8-bfe7-435d5b4f7686"> ## Linked Axes Before: <img width="321" alt="Screenshot 2024-09-09 at 7 43 29 PM" src="https://github.com/user-attachments/assets/4622c4f0-c9af-4c85-a5e3-a106ae5ea2f5"> After: <img width="323" alt="Screenshot 2024-09-09 at 7 29 50 PM" src="https://github.com/user-attachments/assets/d008fdcc-2a3c-4f6b-8624-6afa0e38da63">
- Loading branch information