egui/crates
Sven Niederberger 024dc7b135
Add a toggle for the compact menu style (#5777)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to test and add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

Menus currently have their own style that removes outlines and
backgrounds. This is nice if the menu only contains buttons. However if
the menu contains other widgets, e.g. a drag value, the style change
makes it quite difficult to identify such widgets. This is a simple way
to make this configurable.


* [x] I have followed the instructions in the PR template
2025-03-18 11:13:59 +01:00
..
ecolor Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
eframe Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
egui Add a toggle for the compact menu style (#5777) 2025-03-18 11:13:59 +01:00
egui-wgpu Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
egui-winit Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
egui_demo_app Add `Ui::close` and `Response::should_close` (#5729) 2025-02-20 17:59:29 +01:00
egui_demo_lib ⚠️ Improved menu based on `egui::Popup` (#5716) 2025-03-03 14:56:30 +01:00
egui_extras Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
egui_glow Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
egui_kittest Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add `Popup` and `Tooltip`, unifying the previous behaviours (#5713) 2025-02-18 15:53:07 +01:00
epaint Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
epaint_default_fonts Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00